Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.0.8
* Fix `ImprovedRemoteWebElement` not using correct search context

# 1.0.7
* Added `nativeClick` method which executes the original/upstream click
* Updated dependencies
Expand Down
2 changes: 1 addition & 1 deletion selenium-elements/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<dependency>
<groupId>software.xdev</groupId>
<artifactId>testcontainers-selenium</artifactId>
<version>1.3.0</version>
<version>1.4.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package software.xdev.selenium.elements.remote;

import org.openqa.selenium.ElementNotInteractableException;
import org.openqa.selenium.SearchContext;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.remote.RemoteWebElement;
import org.slf4j.Logger;
Expand Down Expand Up @@ -65,6 +66,12 @@ public WebDriver getWebDriver()
return this.getWrappedDriver();
}

@Override
public SearchContext determineSearchContext(final WebDriver webDriver)
{
return this;
}

@Override
public void click()
{
Expand Down