Skip to content

Commit 4925cd2

Browse files
committed
Update selenide for new Firefox driver
1 parent 4d17e09 commit 4925cd2

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,6 @@ test {
331331

332332
After that, run the following task in the terminal:
333333

334-
gradle test -Dselenide.browser=marionette -Dwebdriver.gecko.driver=<your_path>/geckodriver.exe
334+
gradle test -Dwebdriver.gecko.driver=<your_path>/geckodriver.exe
335335

336336
where <your_path> is the path to the gecko driver on your computer.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ configure(project(':masquerade-web')) {
9898

9999
dependencies {
100100
compile 'com.leacox.motif:motif:0.1'
101-
compile 'com.codeborne:selenide:4.9'
101+
compile 'com.codeborne:selenide:4.9.1'
102102
compile 'org.seleniumhq.selenium:selenium-java:3.8.1'
103103

104104
testCompile 'org.codehaus.groovy:groovy-all:2.4.12'

modules/web/src/main/java/com/haulmont/masquerade/components/impl/CheckBoxImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import com.haulmont.masquerade.conditions.Caption;
2424
import com.haulmont.masquerade.conditions.SpecificCondition;
2525
import org.openqa.selenium.By;
26+
import org.openqa.selenium.Keys;
2627

2728
import java.util.Objects;
2829

@@ -65,7 +66,7 @@ public CheckBox setChecked(boolean checked) {
6566
.shouldBe(enabled);
6667

6768
if (checked != checkBoxInput.is(Condition.checked)) {
68-
checkBoxInput.sendKeys(" ");
69+
checkBoxInput.sendKeys(Keys.SPACE);
6970
}
7071

7172
return this;

0 commit comments

Comments
 (0)