Created
June 14, 2019 14:39
-
-
Save seleniumgists/f1d2f052f5bc7187183a2f2a4053db9f to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###Code file named foobar.py: | |
import time | |
from selenium import webdriver | |
driver = webdriver.Chrome() | |
driver.get('https://github.com/robotframework/SeleniumLibrary') | |
driver.set_window_position(0, 0) | |
#hangs on this line | |
driver.set_window_size(1920,1080) | |
time.sleep(5) | |
driver.quit() | |
###end of code file | |
###Script calling code file from command line in azure devops: | |
cd "C:\tests" | |
foobar.py | |
###end of script file. | |
environment | |
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Ple | |
ase upgrade your Python as Python 2.7 won't be maintained after that date. A fut | |
ure version of pip will drop support for Python 2.7. | |
WARNING: Could not parse requirement: -obotframework-seleniumlibrary | |
WARNING: Could not parse requirement: -elenium | |
appdirs==1.4.3 | |
backports.functools-lru-cache==1.5 | |
beautifulsoup4==4.7.1 | |
certifi==2019.3.9 | |
chardet==3.0.4 | |
idna==2.8 | |
pymssql==2.1.3 | |
requests==2.22.0 | |
robotframework==3.1.1 | |
robotframework-databaselibrary==1.0.1 | |
robotframework-selenium2library==3.0.0 | |
robotframework-seleniumlibrary==3.3.1 | |
selenium==3.141.0 | |
soupsieve==1.9.1 | |
tqdm==4.32.1 | |
urllib3==1.25.2 | |
webdrivermanager==0.7.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment