File tree 1 file changed +2
-2
lines changed
java/client/test/org/openqa/selenium
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 41
41
/**
42
42
* Demonstrates how to use WebDriver with a file input element.
43
43
*/
44
- @ Ignore (value = {SAFARI , MARIONETTE }, issues = {4220 })
44
+ @ Ignore (value = {SAFARI }, issues = {4220 })
45
45
public class UploadTest extends JUnit4TestBase {
46
46
47
47
private static final String LOREM_IPSUM_TEXT = "lorem ipsum dolor sit amet" ;
@@ -63,7 +63,7 @@ public void testFileUploading() throws Exception {
63
63
TestUtilities .getEffectivePlatform (driver ).is (ANDROID ));
64
64
driver .get (pages .uploadPage );
65
65
driver .findElement (By .id ("upload" )).sendKeys (testFile .getAbsolutePath ());
66
- driver .findElement (By .id ("go" )).submit ();
66
+ driver .findElement (By .id ("go" )).click ();
67
67
68
68
// Uploading files across a network may take a while, even if they're really small
69
69
WebElement label = driver .findElement (By .id ("upload_label" ));
You can’t perform that action at this time.
0 commit comments