Skip to content

Commit 163314f

Browse files
authored
Update ChromeDownloadsForm.java
1 parent 039d704 commit 163314f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/forms/ChromeDownloadsForm.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
public class ChromeDownloadsForm extends Form {
1212
private static final String ADDRESS = "chrome://downloads/";
13-
public static final By NESTED_SHADOW_ROOT_LOCATOR = By.id("moreActionsMenu");
13+
public static final By NESTED_SHADOW_ROOT_LOCATOR = By.cssSelector("cr-toolbar");
1414
public static final By DIV_ELEMENTS_LOCATOR = By.cssSelector("div");
1515

1616
private final ILabel lblDownloadsToolbar = getFormLabel().findElementInShadowRoot(By.cssSelector("downloads-toolbar"), "Downloads toolbar", ILabel.class);

0 commit comments

Comments
 (0)