question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Serenity/JS 3.0 - ERROR webdriver: Request failed with status 404 due to no such alert

See original GitHub issue

When using webdriver instead of devtools with the WDIO integration the same error is logged multiple times. It seams at each interaction which is performed via webdriver.

ERROR webdriver: Request failed with status 404 due to no such alert

https://developer.mozilla.org/en-US/docs/Web/WebDriver/Errors#table_of_errors

Test will run and does not fail. Do you know, what this error stands for and why it is raised? It’s a bit disturbing. I dit not test, yet, if this error would appear in a pure WDIO setup as well (without using Serenity/JS).

Reproduction

  • Switch to the Serenity/JS main branch
  • Run npm ci, npm run lerna:bootstrap:all, npm run compile
  • cd into ./integration/webdriverio-web
  • In the wdio.conf change automationProtocol to webdriver
  • In a terminal run npm run start, in an other terminal run npx chromedriver --port=4444
  • In another terminal run npm run test:acceptance:run

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
viper3400commented, Jul 29, 2022

Thanks for fixing this, it works.

0reactions
jan-molakcommented, Jul 23, 2022

🚀 New implementation of ModalDialog is available as of 3.0.0-rc.20. It doesn’t rely on checking if the modal is present before switching windows, so won’t be causing the WebDriver error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I got ERROR webdriver: Request failed with status 404 due to ...
Error message displayed : `ERROR webdriver: Request failed with status 404 due to unknown command: The requested resource could not be found ......
Read more >
serenity-js - Bountysource
It seams at each interaction which is performed via webdriver. ERROR webdriver: Request failed with status 404 due to no such alert.
Read more >
ERROR webdriver: Request failed with status 200 due to ...
ERROR webdriver : Request failed with status 200 due to Response has empty body # ... Make sure to connect to valid hostname:port...
Read more >
serenity-js/Lobby - Gitter
just tried updating serenity-js-cucumber-template to 3.0.0-rc.13 from 2.33.0 and broke bot the property import (not found in assertions) and the promise for ...
Read more >
Serenity/JS 3.0 (RC)
The new module contains all the Web-related interactions and questions, while the integration-tool specific modules such as @serenity-js/protractor and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found