Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is there a way to handle Multi Login using javascript from console?
#1
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')
Reply
#2
Do you mean opening new Multi Login tabs using javascript from console?
Reply
#3
[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
Reply
#4
(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.
Reply
#5
(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 ❤️
Reply
#6
(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.
Reply
#7
(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?
Reply
#8
(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
Reply
#9
(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? ❤️

Reply
#10
(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.
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)