This class should be utilized in the framework that supports more features
🚧 Scenario where this would be used?
This could prove useful in capturing screenshots.
💁 Supporting information
To use the Browsing Context class we need to set the "webSocketUrl" in the Browser Options class
For e.g
ChromeOptions options = new ChromeOptions();
options.setCapability("webSocketUrl", true);
📗 Description of the new feature request?
Selenium 4 has introduced Browsing Context class that provides more features such as
This class should be utilized in the framework that supports more features
🚧 Scenario where this would be used?
This could prove useful in capturing screenshots.
💁 Supporting information
To use the Browsing Context class we need to set the "webSocketUrl" in the Browser Options class For e.g ChromeOptions options = new ChromeOptions(); options.setCapability("webSocketUrl", true);