Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
898b28e
Update CHANGELOG.md
AB-xdev Oct 9, 2025
7588b3f
Merge branch 'develop' of https://github.com/xdev-software/selenium-e…
AB-xdev Oct 9, 2025
85e6a85
Merge pull request #60 from xdev-software/master
AB-xdev Oct 9, 2025
43afe18
Update dependency com.puppycrawl.tools:checkstyle to v12
xdev-renovate Oct 10, 2025
f96c78b
Merge pull request #212 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Oct 10, 2025
042d657
Update dependency org.apache.maven.plugins:maven-pmd-plugin to v3.28.0
xdev-renovate Oct 11, 2025
d4bea48
Update dependency com.puppycrawl.tools:checkstyle to v12.0.1
xdev-renovate Oct 12, 2025
41d4189
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Oct 13, 2025
9bae6de
Merge pull request #213 from xdev-software/renovate/org.apache.maven.…
AB-xdev Oct 13, 2025
21c6d60
Merge pull request #214 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Oct 13, 2025
e28c251
Detect ZIP slip
AB-xdev Oct 15, 2025
8f55cca
Merge branch 'master' into update-from-template-xdev-software/java-se…
xdev-gh-bot Oct 15, 2025
ce3728f
Merge branch 'master' into update-from-template-xdev-software/java-te…
xdev-gh-bot Oct 15, 2025
76a61eb
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Oct 20, 2025
1e70e4d
Update dependency com.puppycrawl.tools:checkstyle to v12.1.0
xdev-renovate Oct 20, 2025
ab5065e
Merge pull request #216 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Oct 20, 2025
db9dae9
Update shogo82148/actions-create-release digest to 28d99e2
xdev-renovate Oct 23, 2025
95c9943
Merge pull request #217 from xdev-software/renovate/shogo82148-action…
AB-xdev Oct 23, 2025
a9b4edb
Update actions/upload-artifact action to v5
xdev-renovate Oct 25, 2025
887cc1c
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Oct 27, 2025
c5e7b4c
Update dependency software.xdev:testcontainers-selenium to v1.3.0
xdev-renovate Oct 27, 2025
c324a7b
Update org.seleniumhq.selenium to v4.38.0
xdev-renovate Oct 27, 2025
0f07ec7
Update dependency com.puppycrawl.tools:checkstyle to v12.1.1
xdev-renovate Oct 27, 2025
a762aff
Merge pull request #218 from xdev-software/renovate/actions-upload-ar…
AB-xdev Oct 27, 2025
ca9a75f
Merge pull request #219 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Oct 27, 2025
1ebe470
Add `UnnecessaryWarningSuppression`
AB-xdev Oct 29, 2025
8083575
Formatting
AB-xdev Oct 29, 2025
6b3fcb8
Merge branch 'master' into update-from-template-xdev-software/java-se…
xdev-gh-bot Oct 29, 2025
6bf0ba8
Merge branch 'master' into update-from-template-xdev-software/java-te…
xdev-gh-bot Oct 29, 2025
f0350dd
Update lycheeverse/lychee-action digest to a8c4c7c
xdev-renovate Oct 30, 2025
96cbd38
Update dependency org.junit.jupiter:junit-jupiter to v6.0.1
xdev-renovate Nov 1, 2025
f5923ef
Update net.sourceforge.pmd to v7.18.0
xdev-renovate Nov 1, 2025
e39176b
Merge pull request #10 from xdev-software/renovate/lycheeverse-lychee…
AB-xdev Nov 3, 2025
4ebf84d
Updated to PMD 7.18
AB-xdev Nov 3, 2025
52e2773
Merge pull request #222 from xdev-software/renovate/net.sourceforge.pmd
AB-xdev Nov 3, 2025
53e5c31
Don't allow TODO comments
AB-xdev Nov 3, 2025
039ed9b
Merge branch 'master' into update-from-template-xdev-software/base-te…
xdev-gh-bot Nov 3, 2025
0bdf14a
Merge branch 'master' into update-from-template-xdev-software/java-se…
xdev-gh-bot Nov 3, 2025
1ca46a8
Merge branch 'master' into update-from-template-xdev-software/java-te…
xdev-gh-bot Nov 3, 2025
4342c35
Small descriptive improvements
AB-xdev Nov 7, 2025
e59f3a0
Merge branch 'master' into update-from-template-xdev-software/java-se…
xdev-gh-bot Nov 7, 2025
47db532
Merge branch 'master' into update-from-template-xdev-software/java-te…
xdev-gh-bot Nov 7, 2025
053d604
Add initial PMD X plugin configuration
AB-xdev Nov 10, 2025
5e4a080
Merge branch 'master' into update-from-template-xdev-software/java-se…
xdev-gh-bot Nov 10, 2025
8678dd7
Merge branch 'master' into update-from-template-xdev-software/java-te…
xdev-gh-bot Nov 10, 2025
7b3d463
Update dependency com.puppycrawl.tools:checkstyle to v12.1.2
xdev-renovate Nov 12, 2025
47b7924
Merge pull request #226 from xdev-software/renovate/com.puppycrawl.to…
AB-xdev Nov 20, 2025
a6ff08d
Merge remote-tracking branch 'origin/update-from-template' into develop
AB-xdev Nov 20, 2025
4162a2c
Merge pull request #65 from xdev-software/renovate/org.seleniumhq.sel…
AB-xdev Nov 20, 2025
6493fd4
Merge pull request #64 from xdev-software/renovate/software.xdev-test…
AB-xdev Nov 20, 2025
b445567
Merge pull request #71 from xdev-software/renovate/org.junit.jupiter-…
AB-xdev Nov 20, 2025
bb1a522
Update dependency com.puppycrawl.tools:checkstyle to v12.1.2
xdev-renovate Nov 20, 2025
f7c0122
Merge pull request #61 from xdev-software/renovate/com.puppycrawl.too…
AB-xdev Nov 20, 2025
6ff3125
Update actions/checkout action to v6
xdev-renovate Nov 21, 2025
25f9289
Update actions/checkout action to v6
xdev-renovate Nov 21, 2025
e39c89d
Merge pull request #11 from xdev-software/renovate/actions-checkout-6.x
AB-xdev Nov 21, 2025
70abc6f
Merge pull request #227 from xdev-software/renovate/actions-checkout-6.x
AB-xdev Nov 21, 2025
c117cd7
Merge branch 'master' into update-from-template-xdev-software/base-te…
xdev-gh-bot Nov 21, 2025
6f6dfdb
Merge branch 'master' into update-from-template-xdev-software/java-te…
xdev-gh-bot Nov 21, 2025
81e8954
Merge branch 'develop' into update-from-template-merged
xdev-gh-bot Nov 24, 2025
ab20252
Add `nativeClick`
AB-xdev Nov 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .config/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@
<module name="StaticVariableName"/>
<module name="StringLiteralEquality"/>
<module name="SuppressWarningsHolder"/>
<module name="TodoComment">
<property name="severity" value="info"/>
</module>
<module name="TodoComment"/>
<module name="TypecastParenPad"/>
<module name="TypeName"/>
<module name="UnnecessaryParentheses"/>
Expand Down
202 changes: 116 additions & 86 deletions .config/pmd/java/ruleset.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .github/workflows/broken-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- run: mv .github/.lycheeignore .lycheeignore

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@885c65f3dc543b57c898c8099f4e08c8afd178a2 # v2
uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # v2
with:
fail: false # Don't fail on broken links, create an issue instead

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
java: [17, 21, 25]
distribution: [temurin]
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Set up JDK
uses: actions/setup-java@v5
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
java: [17]
distribution: [temurin]
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Set up JDK
uses: actions/setup-java@v5
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
java: [17]
distribution: [temurin]
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Set up JDK
uses: actions/setup-java@v5
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:

- name: Upload report
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: pmd-report
if-no-files-found: ignore
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Set up JDK
uses: actions/setup-java@v5
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
outputs:
upload_url: ${{ steps.create-release.outputs.upload_url }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Configure Git
run: |
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:

- name: Create Release
id: create-release
uses: shogo82148/actions-create-release@7b89596097b26731bda0852f1504f813499079ee # v1
uses: shogo82148/actions-create-release@28d99e2a5b407558d17c15d0384fc0d7fb625b4c # v1
with:
tag_name: v${{ steps.version.outputs.release }}
release_name: v${{ steps.version.outputs.release }}
Expand All @@ -115,7 +115,7 @@ jobs:
needs: [prepare-release]
timeout-minutes: 60
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Init Git and pull
run: |
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
needs: [prepare-release]
timeout-minutes: 15
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Init Git and pull
run: |
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
needs: [publish-maven]
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Init Git and pull
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
sparse-checkout: .github/labels.yml

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Set up JDK
uses: actions/setup-java@v5
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-from-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
update_branch_merged_commit: ${{ steps.manage-branches.outputs.update_branch_merged_commit }}
create_update_branch_merged_pr: ${{ steps.manage-branches.outputs.create_update_branch_merged_pr }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Required because otherwise there are always changes detected when executing diff/rev-list
fetch-depth: 0
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Required because otherwise there are always changes detected when executing diff/rev-list
fetch-depth: 0
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ hs_err_pid*
!.idea/saveactions_settings.xml
!.idea/checkstyle-idea.xml
!.idea/externalDependencies.xml
!.idea/pmd-x.xml
!.idea/PMDPlugin.xml

!.idea/inspectionProfiles/
Expand Down
27 changes: 27 additions & 0 deletions .idea/pmd-x.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 1.0.7
* Added `nativeClick` method which executes the original/upstream click
* Updated dependencies

# 1.0.6
* Updated dependencies

# 1.0.5
* Add new shortcut method ``CanFindElements#waitForFirstByClassName``
* Updated dependencies
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>11.1.0</version>
<version>12.1.2</version>
</dependency>
</dependencies>
<configuration>
Expand All @@ -69,7 +69,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.27.0</version>
<version>3.28.0</version>
<configuration>
<analysisCache>true</analysisCache>
<includeTests>true</includeTests>
Expand All @@ -82,12 +82,12 @@
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>7.17.0</version>
<version>7.18.0</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>7.17.0</version>
<version>7.18.0</version>
</dependency>
</dependencies>
</plugin>
Expand Down
18 changes: 9 additions & 9 deletions selenium-elements/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-support</artifactId>
<version>4.36.0</version>
<version>4.38.0</version>
<exclusions>
<!-- Tracing is not needed -->
<exclusion>
Expand Down Expand Up @@ -82,7 +82,7 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>6.0.0</version>
<version>6.0.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -94,13 +94,13 @@
<dependency>
<groupId>software.xdev</groupId>
<artifactId>testcontainers-selenium</artifactId>
<version>1.2.5</version>
<version>1.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-firefox-driver</artifactId>
<version>4.36.0</version>
<version>4.38.0</version>
<scope>test</scope>
<exclusions>
<!-- No unused, beta-grade, RUST blobs -->
Expand All @@ -113,7 +113,7 @@
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-chrome-driver</artifactId>
<version>4.36.0</version>
<version>4.38.0</version>
<scope>test</scope>
<exclusions>
<!-- No unused, beta-grade, RUST blobs -->
Expand Down Expand Up @@ -291,7 +291,7 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>11.1.0</version>
<version>12.1.2</version>
</dependency>
</dependencies>
<configuration>
Expand All @@ -316,7 +316,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.27.0</version>
<version>3.28.0</version>
<configuration>
<analysisCache>true</analysisCache>
<includeTests>true</includeTests>
Expand All @@ -329,12 +329,12 @@
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-core</artifactId>
<version>7.17.0</version>
<version>7.18.0</version>
</dependency>
<dependency>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-java</artifactId>
<version>7.17.0</version>
<version>7.18.0</version>
</dependency>
</dependencies>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ default void performJsClick()
this.getWrappedRemoteElement().performJsClick();
}

default void nativeClick()
{
this.getWrappedRemoteElement().nativeClick();
}

@Override
default SearchContext determineSearchContext(final WebDriver webDriver)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,14 @@ public void performJsClick()
this.callFunction("click");
}

/**
* Calls the original/upstream click
*/
public void nativeClick()
{
super.click();
}

@Override
public String getText()
{
Expand Down