You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from time import sleep # this should go at the top of the file
sleep(5) html = driver.execute_script("return document.getElementsByTagName('html')[0].innerHTML") print html
I am working in the context of a browser worker that has been created as described in the readme. I am looking for the text/html equivalent of curl -u "username:access_key" https://api.browserstack.com/5/worker/123456789/screenshot.json
Activity
hritik-m commentedon Mar 23, 2023
from time import sleep # this should go at the top of the file
sleep(5)
html = driver.execute_script("return document.getElementsByTagName('html')[0].innerHTML")
print html
codeitloadit commentedon Mar 23, 2023
I am working in the context of a browser worker that has been created as described in the readme. I am looking for the text/html equivalent of
curl -u "username:access_key" https://api.browserstack.com/5/worker/123456789/screenshot.json