Created
March 23, 2017 13:56
-
-
Save cvakiitho/66cebf1167638157931e9a9af2529012 to your computer and use it in GitHub Desktop.
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
from selenium import webdriver | |
driver = webdriver.Remote( | |
command_executor='http://localhost:4444/wd/hub', | |
desired_capabilities=webdriver.DesiredCapabilities.FIREFOX | |
) | |
# driver = webdriver.Firefox() | |
driver.get("https://sapui5.hana.ondemand.com/#docs/guide/95d113be50ae40d5b0b562b84d715227.html") | |
print driver.execute_script("return sap.ui.version") | |
driver.quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment