Closed 3dprogramin closed 2 weeks ago
⏱️ Estimated effort to review [1-5] | 1 |
🧪 Relevant tests | No |
🔒 Security concerns | No |
⚡ Key issues to review | None |
Category | Suggestion | Score |
Possible issue |
Verify and correct the URL to point directly to the JavaScript API documentation___ **Ensure that the new URL for the API documentation is correct and points to the intendedsection. The current URL seems to point to the general WebDriver documentation rather than the specific JavaScript API documentation.** [javascript/node/selenium-webdriver/README.md [220]](https://github.com/SeleniumHQ/selenium/pull/14138/files#diff-117a87473e78072cba7fb99139ed44df8d515b9b9dcfd08a3c66105b65518413R220-R220) ```diff -[api]: https://www.selenium.dev/documentation/webdriver +[api]: https://www.selenium.dev/documentation/webdriver/getting_started_with_webdriver_in_javascript/ ``` - [ ] **Apply this suggestion** Suggestion importance[1-10]: 7Why: The suggestion correctly identifies a potential issue with the updated URL not specifically pointing to the JavaScript API documentation. This is important for clarity and user navigation, although the existing URL does correctly lead to the WebDriver documentation. | 7 |
thanks!
User description
Description
Inside README.md file for the nodejs library, there is an API URL pointing to an old URL that returns a 404 now. Replaced the URL with the main documentation URL.
Old URL: https://www.selenium.dev/selenium/docs/api/javascript/module/selenium-webdriver/ New URL: https://www.selenium.dev/documentation/webdriver/
Motivation and Context
I was checking the selenium-webdriver npm library and came across the invalid API documentation URL inside README.md
Types of changes
Checklist
PR Type
Bug fix, Documentation
Description
README.md
file for theselenium-webdriver
npm package.Changes walkthrough 📝
README.md
Fix broken API documentation URL in README.md
javascript/node/selenium-webdriver/README.md