bet365.com #44
Closed
kaliiiiiiiiii
started this conversation in
General
Replies: 2 comments
-
related issue: #57 |
Beta Was this translation helpful? Give feedback.
0 replies
-
using selenium-profiles with selenium-driverless from selenium_profiles.webdriver import Chrome
from selenium_profiles.profiles import profiles
from selenium_driverless.webdriver import ChromeOptions
import time
profile = profiles.Windows() # or .Android
options = ChromeOptions()
driver = Chrome(profile=profile, options=options, driverless_options=True)
back = driver.current_window_handle
# get url
driver.get('https://365365824.com/#/IP/B16')
driver.switch_to.target(driver.targets[0]["targetId"])
time.sleep(5)
driver.switch_to.target(back)
driver.quit() # Execute on the End! works for me selenium-driverless uses the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is ONLY FOR EDUCATIONAL PURPOSES. I am not responsible for how you use the code provided here.
I confirm following:
Opening a new window as following works:
TODO: Analyze javascript at index.js
Workaround: Use javascript-only for automation might work?
References:
Beta Was this translation helpful? Give feedback.
All reactions