You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the environment that the command is ran is, is completely different, the chrome API has no knowledge of variables out of scope, as far is it's concerned, (using first example above), selectors is an undefined variable
Acceptance Criteria
Below is a list of tasks that must be completed before this issue can be closed.
Write documentation
Write unit tests
Write integration tests
{add more checkboxes required by this issue as needed}
Credit to @saragee3, as I had the initial discussion with her and we came to the conclusion below.
This issue is open to suggestions/criticism, and needs to be vetted/investigated more before work can properly start
Summary
What:
Support using variables/data defined outside the scope of the callback, to be used inside the callback, for example:
Could use the
arguments
in https://chromedevtools.github.io/devtools-protocol/tot/Runtime/#method-callFunctionOn ?Why:
Because the environment that the command is ran is, is completely different, the chrome API has no knowledge of variables out of scope, as far is it's concerned, (using first example above),
selectors
is an undefined variableAcceptance Criteria
Below is a list of tasks that must be completed before this issue can be closed.
Example Pseudo Code (for implementation)
The text was updated successfully, but these errors were encountered: