File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/test/java/endtoend/showcase Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ public class SeleniumQueryExample {
50
50
$. url(" http://www.google.com/?hl=en" );
51
51
52
52
$(" :text[name='q']" ). val(" selenium" ); // the keys are actually typed!
53
+ $(" :button[name=btnG]" ). click(); // simulates a real user click (not just the JS event)
53
54
54
55
// Besides the short syntax and the jQuery behavior you already know,
55
56
// other very useful function in seleniumQuery is .waitUntil(),
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2015 seleniumQuery authors
2
+ * Copyright (c) 2016 seleniumQuery authors
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -40,6 +40,7 @@ public void showcase_should_work() {
40
40
$ .url ("http://www.google.com/?hl=en" );
41
41
42
42
$ (":text[name='q']" ).val ("selenium" ); // the keys are actually typed!
43
+ $ (":button[name=btnG]" ).click (); // simulates a real user click (not just the JS event)
43
44
44
45
// Besides the short syntax and the jQuery behavior you already know,
45
46
// other very useful function in seleniumQuery is .waitUntil(),
You can’t perform that action at this time.
0 commit comments