[wdspec] Add "channel" tests for "script.evalute" and "script.callFunction"
Categories
(Remote Protocol :: WebDriver BiDi, task)
Tracking
(Not tracked)
People
(Reporter: whimboo, Unassigned)
References
Details
At the moment we have the tests for the channel
only as part of the script.addPreloadScript
command but as mentioned by James it is always possible to use a channel
as well for script.evaluate
and script.callFunction
.
We should add wdspec tests for both of these commands to verify the correct behavior.
Reporter | ||
Updated•1 year ago
|
Comment 1•1 year ago
|
||
We have already tests for channel
for script.callFunction
here: https://searchfox.org/mozilla-central/source/testing/web-platform/tests/webdriver/tests/bidi/script/call_function/channel.py and https://searchfox.org/mozilla-central/source/testing/web-platform/tests/webdriver/tests/bidi/script/call_function/invalid.py#118-129. And evaluate
doesn't have arguments
parameter, so we can not supply channel
for it.
Reporter | ||
Comment 2•1 year ago
|
||
Strange that I overlooked those. Thanks for the pointers. So we can actually close this bug.
Description
•