Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try:
- self.wait.until(EC.presence_of_element_located(
- (By.TAG_NAME, 'iframe')
- ))
- except ElementNotVisibleException as e:
- import base64
- with open("/home/visgean/imageToSave.png", "wb") as fh:
- fh.write(base64.b64decode(e.screen.encode()))
Add Comment
Please, Sign In to add comment