We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would it be possible to perform an action before taking the snapshots? For e.g. clicking a button inside the webpage to show some hidden information
" def lookup(driver): driver.get("url") try: #box = driver.wait.until(EC.presence_of_element_located((By.NAME, "q")))
#button = driver.find_element_by_class_name('oc-home-search__button') button = driver.find_element_by_id('showPhone') #box.send_keys(query) button.click() image = driver.find_element_by_class_name('telnumber') print(image.get_attribute('element')) abc = driver.FindElement(By.XPath("//div[contains(@style, 'background-image')) #print(image.get_attribute("url")) except TimeoutException: print("Box or Button not found!")
The text was updated successfully, but these errors were encountered:
Hello @TudorVR, From your code I understand that you need a webdriver: this is currently not supported.
webdriver
Cheers.
Sorry, something went wrong.
cf. #34 (comment)
No branches or pull requests
Would it be possible to perform an action before taking the snapshots?
For e.g. clicking a button inside the webpage to show some hidden information
" def lookup(driver):
driver.get("url")
try:
#box = driver.wait.until(EC.presence_of_element_located((By.NAME, "q")))
The text was updated successfully, but these errors were encountered: