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
I am profiling the wasm performance of a function, which runs for more than 5 minutes. Then I get the following error:
got: {"sessionId":"6eed583a92cc19dbbecdfb0c114d7d25","status":21,"value":{"message":"timeout: Timed out receiving message from renderer: 300.000\n (Session info: headless chrome=101.0.4951.64)\n (Driver info: chromedriver=101.0.4951.64 (d1daa9897e1bc1d507d6be8f2346e377e5505905-refs/branch-heads/4951@{#1208}),platform=Linux 5.15.0-27-generic x86_64)"}}
The reason is that there is a 300-second timeout setting in WebDriver [1]. Is it possible to add an interface to set that in wasm-bindgen?
[1] https://developer.mozilla.org/en-US/docs/Web/WebDriver/Timeouts
wasm-pack test --headless --chrome --release
[2] #2261 [3] #2036
The text was updated successfully, but these errors were encountered:
You should be able set the timeout via webdriver.json file. See documentation.
webdriver.json
Sorry, something went wrong.
Thanks for quick reply! I tried webdriver.json with { "goog:chromeOptions": { "args": [ "disable-timeouts-for-profiling" ] } }
{ "goog:chromeOptions": { "args": [ "disable-timeouts-for-profiling" ] } }
However, this one does not work... The same timeout error appears. Do you have any example of how to set the page load timeout in webdriver.json?
No branches or pull requests
Summary
I am profiling the wasm performance of a function, which runs for more than 5 minutes. Then I get the following error:
got: {"sessionId":"6eed583a92cc19dbbecdfb0c114d7d25","status":21,"value":{"message":"timeout: Timed out receiving message from renderer: 300.000\n (Session info: headless chrome=101.0.4951.64)\n (Driver info: chromedriver=101.0.4951.64 (d1daa9897e1bc1d507d6be8f2346e377e5505905-refs/branch-heads/4951@{#1208}),platform=Linux 5.15.0-27-generic x86_64)"}}
The reason is that there is a 300-second timeout setting in WebDriver [1]. Is it possible to add an interface to set that in wasm-bindgen?
[1] https://developer.mozilla.org/en-US/docs/Web/WebDriver/Timeouts
Additional details
wasm-pack test --headless --chrome --release
[2] #2261
[3] #2036
The text was updated successfully, but these errors were encountered: