This file contains hidden or 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
Cypress.Commands.add("clickRecaptcha", () => { | |
cy.window().then(win => { | |
win.document | |
.querySelector("iframe[src*='recaptcha']") | |
.contentDocument.getElementById("recaptcha-token") | |
.click(); | |
}); | |
}); |
This file contains hidden or 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
import inspect | |
""" var_dump('vars') module to dump variables (python 3.6+: uses f strings)""" | |
def var_dump(var_list_str): | |
""" print variables in callers scope indicated in space delimited string param""" | |
# retrieve information needed on callers frame | |
prev_frame = inspect.currentframe().f_back | |
frame_info = inspect.getframeinfo(prev_frame) |
This file contains hidden or 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
Help on module _threading_local: | |
NAME | |
_threading_local - Thread-local objects. | |
FILE | |
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/_threading_local.py | |
MODULE DOCS | |
http://docs.python.org/library/_threading_local |