SeleniumHQ / selenium

A browser automation framework and ecosystem.

Home Page:https://selenium.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[πŸ› Bug]: When doing automated testing with node.js, using pkg to package exe will cause ""Error: Failed to import atoms module get-attribute.js.

Skylar0628 opened this issue Β· comments

What happened?

[πŸ› Bug]: When doing automated testing with node.js, using pkg to package exe will cause ""Error: Failed to import atoms module get-attribute.js.

How can we reproduce the issue?

Error: Failed to import atoms module get-attribute.js. If running in dev mode, you need to run 'bazel build' //javascript/node/selenium-webdriver/lib/atoms:get-attribute.js from the projectroot: Error: Cannot find moule './atoms/get-attribute.js'

Relevant log output

Error: Failed to import atoms module get-attribute.js. If running in dev mode, you need to run 'bazel build' //javascript/node/selenium-webdriver/lib/atoms:get-attribute.js from the projectroot: Error: Cannot find moule './atoms/get-attribute.js'

Operating System

win11

Selenium version

javascript

What are the browser(s) and version(s) where you see this issue?

η‰ˆζœ¬ 122.0.6261.111 (ζ­£εΌη‰ˆζœ¬) (64 位元)

What are the browser driver(s) and version(s) where you see this issue?

η‰ˆζœ¬ 122.0.6261.111 (ζ­£εΌη‰ˆζœ¬) (64 位元)

Are you using Selenium Grid?

^4.18.1

@Skylar0628, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

Hi, @Skylar0628.
Please follow the issue template, we need more information to reproduce the issue.

Either a complete code snippet and URL/HTML (if more than one file is needed, provide a GitHub repo and instructions to run the code), the specific versions used, or a more detailed description to help us understand the issue.

Note: If you cannot share your code and URL/HTML, any complete code snippet and URL/HTML that reproduces the issue is good enough.

Reply to this issue when all information is provided, thank you.

I will close this as we have yet to get more information.

This issue has been automatically locked since there has not been any recent activity since it was closed. Please open a new issue for related bugs.