Skip to content

Commit 85f589e

Browse files
authored
[dotnet] Disable setting 'websocketurl' capability for Chrome tests
1 parent 88f00af commit 85f589e

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

dotnet/test/common/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ csharp_library(
6565

6666
dotnet_nunit_test_suite(
6767
name = "AllTests",
68-
size = "large",
68+
size = "small",
6969
srcs = glob([
7070
"**/*Test.cs",
7171
"**/*Tests.cs",

dotnet/test/common/Environment/DriverFactory.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,12 @@ public IWebDriver CreateDriverWithOptions(Type driverType, DriverOptions driverO
6767
{
6868
browser = Browser.Chrome;
6969
options = GetDriverOptions<ChromeOptions>(driverType, driverOptions);
70-
options.UseWebSocketUrl = true;
70+
// Disabling this since we do not have any BiDi tests currently.
71+
//options.UseWebSocketUrl = true;
72+
73+
// If BiDi is enabled above then the undhandler prompt behaviour needs to set accordingly.
74+
// Reasoning : https://github.com/SeleniumHQ/selenium/pull/14429#issuecomment-2311614822
75+
//options.UnhandledPromptBehavior = UnhandledPromptBehavior.Ignore;
7176

7277
var chromeOptions = (ChromeOptions)options;
7378
chromeOptions.AddArguments("--no-sandbox", "--disable-dev-shm-usage");

java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import org.openqa.selenium.environment.webserver.AppServer;
3535
import org.openqa.selenium.environment.webserver.NettyAppServer;
3636
import org.openqa.selenium.testing.JupiterTestBase;
37-
import org.openqa.selenium.testing.NotYetImplemented;
3837

3938
class BrowsingContextInspectorTest extends JupiterTestBase {
4039

0 commit comments

Comments
 (0)