Skip to content

Instantly share code, notes, and snippets.

@cvakiitho
Created March 23, 2017 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cvakiitho/66cebf1167638157931e9a9af2529012 to your computer and use it in GitHub Desktop.
Save cvakiitho/66cebf1167638157931e9a9af2529012 to your computer and use it in GitHub Desktop.
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