Skip to content
New issue

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

[Facebook\WebDriver\Exception\NoSuchElementException] no such element: Unable to locate element: {"method":"xpath","selector":"//h1[@class="page-title"]/span[@class="base"]"} #838

Open
navinmagento opened this issue Jan 28, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@navinmagento
Copy link

Version of Warden

0.15.0

Operating System and Installation Method

macOS 15.2

Describe the Bug

I'm trying to run the vendor/bin/codecept run acceptance command to execute a UAT test, but I keep encountering the following error:

[Facebook\WebDriver\Exception\NoSuchElementException] no such element: Unable to locate element: {"method":"xpath","selector":"//h1[@class="page-title"]/span[@class="base"]"} (Session info: chrome-headless-shell=124.0.6367.78)

This suggests that Selenium is unable to access the site.

Image

To Reproduce

  1. warden shell
  2. vendor/bin/codecept run acceptance
  3. See error

attached the result of error and html is here

Image
Image

Expected Behavior

it must be open site and run all UAT test successfully when running vendor/bin/codecept run acceptance

Additional context

No response

@navinmagento navinmagento added the bug Something isn't working label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant