-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Relocate selenium-webdriver to root directory #15509
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||||||||
|
LGTM! |
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Motivation and Context
Types of changes
Checklist
PR Type
Enhancement, Tests
Description
Relocated
selenium-webdriverto the root directory for better project organization.Enhanced WebDriver functionalities with new modules for Chromium and Firefox clients, including custom commands and options.
Added comprehensive test suites for WebDriver functionalities, input actions, BiDi protocol, DevTools integration, and virtual authenticator.
Introduced new utilities for file system operations, logging, and browsing context management.
Refactored the main module to improve WebDriver API and configuration handling.
Implemented network-related types and classes for BiDi protocol.
Deleted outdated files from the
nodedirectory to streamline the codebase.Changes walkthrough 📝
6 files
webdriver_test.js
Comprehensive test suite for WebDriver functionalities.javascript/selenium-webdriver/test/lib/webdriver_test.js
FakeExecutorandExpectationfor testing.and error handling.
behaviors.
script_test.js
Added BiDi script manager tests for various scenarios.javascript/selenium-webdriver/test/bidi/script_test.js
operations.
scripts.
input_test.js
Added tests for input actions and device synchronization.javascript/selenium-webdriver/test/lib/input_test.js
operations.
devtools_test.js
Added tests for DevTools integration and event handling.javascript/selenium-webdriver/test/devtools_test.js
events.
promise_test.js
Added extensive tests for promise utilities in WebDriver.javascript/selenium-webdriver/test/lib/promise_test.js
WebDriver.
fullyResolved,finally,checkedNodeCall,map, andfiltermethods.virtualAuthenticator_test.js
Added tests for virtual authenticator functionality in WebDriver.javascript/selenium-webdriver/test/virtualAuthenticator_test.js
WebDriver.
protocols.
operations.
8 files
input.js
Input handling and user gesture simulation enhancements.javascript/selenium-webdriver/lib/input.js
Key,Button, andAction.Devicesubclasses likeKeyboard,Pointer, andWheelforinput simulation.
Actionsclass for complex user gesture sequences.management.
index.js
Refactored main module for WebDriver API and configurations.javascript/selenium-webdriver/index.js
Builderclass.
capabilities.
configuration.
chromium.js
Introduced Chromium WebDriver client with custom commands.javascript/selenium-webdriver/chromium.js
and drivers.
firefox.js
Introduced Firefox WebDriver client with custom options.javascript/selenium-webdriver/firefox.js
and services.
networkTypes.js
Introduced network-related types and classes for BiDi protocol.javascript/selenium-webdriver/bidi/networkTypes.js
protocol.
BytesValue,Header,Cookie,FetchTimingInfo,and
RequestDatafor handling network data.methods.
browsingContext.js
Added browsing context management for BiDi protocol.javascript/selenium-webdriver/bidi/browsingContext.js
BrowsingContextand related classes for BiDiprotocol.
management.
Locatorclass for node location andNavigateResultfornavigation results.
operations.
logging.js
Implemented a hierarchical logging system for WebDriver.javascript/selenium-webdriver/lib/logging.js
Level,Entry,Logger, andLogManagerclasses for hierarchicallogging.
various levels.
index.js
Introduced file system utilities for WebDriver.javascript/selenium-webdriver/io/index.js
WebDriver.
temporary file handling.
walking.
101 files