CentBrowser Forum

Full Version: Is there a way to handle Multi Login using javascript from console?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to handle Multi Login using javascript from console?



I use the browser for selenium tests
I need something alternative
pyautogui.hotkey('alt', 'shift', 'o')
Do you mean opening new Multi Login tabs using javascript from console?
[Image: Screenshot%202022-08-25%20173616.png]




I mean Multi Login tabs

I can control the browser with the console using this code in Python .
Send javascript code through it

driver.execute_script(''' javascript code ''')
(08-25-2022, 02:18 PM)CentBrowser Wrote: [ -> ]Do you mean opening new Multi Login tabs using javascript from console?
Yas .
(08-25-2022, 02:18 PM)CentBrowser Wrote: [ -> ]Do you mean opening new Multi Login tabs using javascript from console?
I just want to open a new Multi Login tap
using console
(08-25-2022, 03:39 PM)wzirco Wrote: [ -> ][Image: Screenshot%202022-08-25%20173616.png]




I mean Multi Login tabs

I can control the browser with the console using this code in Python .
Send javascript code through it

driver.execute_script(''' javascript code ''')

Yas .

I just want to open a new Multi Login tap
using console
This is not supported for now.
To do this, we need to change some Javascript method.
(08-30-2022, 04:30 PM)CentBrowser Wrote: [ -> ]This is not supported for now.
To do this, we need to change some Javascript method.
I will be eagerly waiting for this update.

Good luck ❤️
(08-30-2022, 04:42 PM)wzirco Wrote: [ -> ]I will be eagerly waiting for this update.

Good luck ❤️
You can use Selenium to send keys "Ctrl+M" instead.
(08-31-2022, 04:11 PM)CentBrowser Wrote: [ -> ]You can use Selenium to send keys "Ctrl+M" instead.
selenium does not send keys to root,
It just sends it to element
It is possible to send commands to root only via execute_script("""
Javascript here """)

Is it possible to simulate keystrokes using Javascript?
(08-31-2022, 04:24 PM)wzirco Wrote: [ -> ]selenium does not send keys to root,
It just sends it to element
It is possible to send commands to root only via execute_script("""
Javascript here """)

Is it possible to simulate keystrokes using Javascript?
You may refer to this link:
https://stackoverflow.com/questions/2848...l-selenium
(09-01-2022, 03:14 PM)CentBrowser Wrote: [ -> ]You may refer to this link:
https://stackoverflow.com/questions/2848...l-selenium


I tried using

ActionChains(driver).key_down(Keys.ALT).key_down(Keys.SHIFT).key_down('O').perform()
AND
ActionChains(driver).key_down(Keys.ALT).key_down(Keys.SHIFT).send_keys("o").perform()
AND
actions = ActionChains(driver)
actions.send_keys(Keys.ALT + Keys.SHIFT + 'o')
actions.perform()
[Image: Screenshot%202022-09-01%20231740.png]

Where is the extension used in Multilogin? Can I find the source code? ❤️

(09-01-2022, 09:23 PM)wzirco Wrote: [ -> ]I tried using

ActionChains(driver).key_down(Keys.ALT).key_down(Keys.SHIFT).key_down('O').perform()
AND
ActionChains(driver).key_down(Keys.ALT).key_down(Keys.SHIFT).send_keys("o").perform()
AND
actions = ActionChains(driver)
actions.send_keys(Keys.ALT + Keys.SHIFT + 'o')
actions.perform()
[Image: Screenshot%202022-09-01%20231740.png]

Where is the extension used in Multilogin? Can I find the source code? ❤️

No, it is not implemented by extension.