Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/update_ruby_examples_for_ie' int…
Browse files Browse the repository at this point in the history
…o update_ruby_examples_for_ie
  • Loading branch information
aguspe committed Jun 16, 2024
2 parents f7e0e4b + 8735936 commit 29a3ecd
Show file tree
Hide file tree
Showing 16 changed files with 81 additions and 56 deletions.
2 changes: 1 addition & 1 deletion examples/dotnet/SeleniumDocs/BaseTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class BaseTest
protected IWebDriver driver;
protected Uri GridUrl;
private Process _webserverProcess;
private const string ServerJarName = "selenium-server-4.20.0.jar";
private const string ServerJarName = "selenium-server-4.21.0.jar";
private static readonly string BaseDirectory = AppContext.BaseDirectory;
private const string RelativePathToGrid = "../../../../../";
private readonly string _examplesDirectory = Path.GetFullPath(Path.Combine(BaseDirectory, RelativePathToGrid));
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{
"manifest_version": 2,
"manifest_version": 3,
"name": "webextensions-selenium-example",
"description": "Inject a div with id webextensions-selenium-example to verify that WebExtensions work in Firefox/Selenium" ,
"description": "Inject a div with id webextensions-selenium-example to verify that WebExtensions work in Firefox/Selenium",
"version": "0.1",
"content_scripts": [
{
"matches": ["https://*/*","http://*/*"],
"js": ["inject.js"]
"matches": [
"https://*/*",
"http://*/*"
],
"js": [
"inject.js"
]
}
],
"applications": {
"gecko": {
"id": "[email protected]"
}
}
}
"browser_specific_settings": {
"gecko": {
"id": "webextensions-selenium-example-v3@example.com"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class FirefoxTest extends BaseTest {
@AfterEach
public void clearProperties() {
System.clearProperty(GeckoDriverService.GECKO_DRIVER_LOG_PROPERTY);
System.clearProperty(GeckoDriverService.GECKO_DRIVER_LOG_LEVEL_PROPERTY);
System.clearProperty(GeckoDriverService.GECKO_DRIVER_LOG_LEVEL_PROPERTY);driver.quit();
}

@Test
Expand Down
Binary file modified examples/java/src/test/resources/extensions/selenium-example.xpi
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{
"manifest_version": 2,
"manifest_version": 3,
"name": "webextensions-selenium-example",
"description": "Inject a div with id webextensions-selenium-example to verify that WebExtensions work in Firefox/Selenium" ,
"description": "Inject a div with id webextensions-selenium-example to verify that WebExtensions work in Firefox/Selenium",
"version": "0.1",
"content_scripts": [
{
"matches": ["https://*/*","http://*/*"],
"js": ["inject.js"]
"matches": [
"https://*/*",
"http://*/*"
],
"js": [
"inject.js"
]
}
],
"applications": {
"gecko": {
"id": "[email protected]"
}
}
}
"browser_specific_settings": {
"gecko": {
"id": "webextensions-selenium-example-v3@example.com"
}
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{
"manifest_version": 2,
"manifest_version": 3,
"name": "webextensions-selenium-example",
"description": "Inject a div with id webextensions-selenium-example to verify that WebExtensions work in Firefox/Selenium" ,
"description": "Inject a div with id webextensions-selenium-example to verify that WebExtensions work in Firefox/Selenium",
"version": "0.1",
"content_scripts": [
{
"matches": ["https://*/*","http://*/*"],
"js": ["inject.js"]
"matches": [
"https://*/*",
"http://*/*"
],
"js": [
"inject.js"
]
}
],
"applications": {
"gecko": {
"id": "[email protected]"
}
}
}
"browser_specific_settings": {
"gecko": {
"id": "webextensions-selenium-example-v3@example.com"
}
}
}
2 changes: 1 addition & 1 deletion examples/kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<junit5.version>5.10.2</junit5.version>
<wdm.version>5.2.3</wdm.version>

<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version>
<maven-surefire-plugin.version>3.3.0</maven-surefire-plugin.version>

<java.version>1.8</java.version>
<selenium.version>4.21.0</selenium.version>
Expand Down
4 changes: 2 additions & 2 deletions examples/python/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def server_old(request):
os.path.abspath(__file__)
)
),
"selenium-server-4.20.0.jar",
"selenium-server-4.21.0.jar",
)

def wait_for_server(url, timeout):
Expand Down Expand Up @@ -188,7 +188,7 @@ def server():
)
)
),
"selenium-server-4.20.0.jar",
"selenium-server-4.21.0.jar",
)

args = [
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{
"manifest_version": 2,
"manifest_version": 3,
"name": "webextensions-selenium-example",
"description": "Inject a div with id webextensions-selenium-example to verify that WebExtensions work in Firefox/Selenium" ,
"description": "Inject a div with id webextensions-selenium-example to verify that WebExtensions work in Firefox/Selenium",
"version": "0.1",
"content_scripts": [
{
"matches": ["https://*/*","http://*/*"],
"js": ["inject.js"]
"matches": [
"https://*/*",
"http://*/*"
],
"js": [
"inject.js"
]
}
],
"applications": {
"gecko": {
"id": "[email protected]"
}
}
}
"browser_specific_settings": {
"gecko": {
"id": "webextensions-selenium-example-v3@example.com"
}
}
}
2 changes: 1 addition & 1 deletion examples/ruby/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ GEM
rubocop (~> 1.41)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-rspec (2.30.0)
rubocop-rspec (2.31.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{
"manifest_version": 2,
"manifest_version": 3,
"name": "webextensions-selenium-example",
"description": "Inject a div with id webextensions-selenium-example to verify that WebExtensions work in Firefox/Selenium" ,
"description": "Inject a div with id webextensions-selenium-example to verify that WebExtensions work in Firefox/Selenium",
"version": "0.1",
"content_scripts": [
{
"matches": ["https://*/*","http://*/*"],
"js": ["inject.js"]
"matches": [
"https://*/*",
"http://*/*"
],
"js": [
"inject.js"
]
}
],
"applications": {
"gecko": {
"id": "[email protected]"
}
}
}
"browser_specific_settings": {
"gecko": {
"id": "webextensions-selenium-example-v3@example.com"
}
}
}
Binary file not shown.

0 comments on commit 29a3ecd

Please sign in to comment.