Skip to content

Commit 468463e

Browse files
committed
Add example for asserting with java on getting_started/using_selenium (#1672)
* Add example for asserting with java on page getting_started/using_selenium/ Example for Asserting added for java language, by creating AssertionsTest.java file and adding relevant code lines reference in the markdown file. * Documentation updated for using_selenium.ja.md * Add example of Setting up and Tear down with java Example for Setting up and Tearing down added for java language, by creating SetupAndTeardownTest.java file, and adding relevant code lines reference in the markdown file(s). * Assertion and Setup/Teardown examples linked Assertion and Setup/Teardown examples linked with existing UsingSeleniumTest.java, removed AssertionsTest.java and SetupAndTeardownTest.java * Do the requested changes 1. BeforeAll and AfterAll functions removed. 2. Print statements removed. 3. driver.manage().window().maximize() removed. 4. Driver navigation and implicit wait code moved into test body. 5. Markdown changes done in all the 4 languages. [deploy site] cf913c3
1 parent 98e7636 commit 468463e

File tree

31 files changed

+1010
-658
lines changed

31 files changed

+1010
-658
lines changed

documentation/_print/index.html

+67-45
Large diffs are not rendered by default.

documentation/about/_print/index.html

+24-24
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<label><a href=https://github.com/jimevans>@jimevans</a></label>
4444
<span class=contributions>2478 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/777185?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
4545
<label><a href=https://github.com/titusfortner>@titusfortner</a></label>
46-
<span class=contributions>1491 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/254985?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
46+
<span class=contributions>1494 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/254985?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
4747
<label><a href=https://github.com/jleyba>@jleyba</a></label>
4848
<span class=contributions>1464 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/572?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
4949
<label><a href=https://github.com/jarib>@jarib</a></label>
@@ -81,7 +81,7 @@
8181
<label><a href=https://github.com/hbchai>@hbchai</a></label>
8282
<span class=contributions>191 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/12621691?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
8383
<label><a href=https://github.com/harsha509>@harsha509</a></label>
84-
<span class=contributions>185 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/4405962?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
84+
<span class=contributions>187 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/4405962?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
8585
<label><a href=https://github.com/lmtierney>@lmtierney</a></label>
8686
<span class=contributions>179 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/16140691?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
8787
<label><a href=https://github.com/joerg1985>@joerg1985</a></label>
@@ -107,11 +107,11 @@
107107
<label><a href=https://github.com/apps/dependabot>@dependabot[bot]</a></label>
108108
<span class=contributions>83 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/695746?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
109109
<label><a href=https://github.com/andrashatvani>@andrashatvani</a></label>
110-
<span class=contributions>66 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1015125?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
111-
<label><a href=https://github.com/ajayk>@ajayk</a></label>
112-
<span class=contributions>63 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3331063?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
110+
<span class=contributions>66 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3331063?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
113111
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
114-
<span class=contributions>62 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/16556?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
112+
<span class=contributions>63 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1015125?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
113+
<label><a href=https://github.com/ajayk>@ajayk</a></label>
114+
<span class=contributions>63 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/16556?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
115115
<label><a href=https://github.com/twalpole>@twalpole</a></label>
116116
<span class=contributions>49 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/2410127?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
117117
<label><a href=https://github.com/asashour>@asashour</a></label>
@@ -325,7 +325,7 @@
325325
<label><a href=https://github.com/diemol>@diemol</a></label>
326326
<span class=contributions>537 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/23253546?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
327327
<label><a href=https://github.com/VietND96>@VietND96</a></label>
328-
<span class=contributions>144 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3331063?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
328+
<span class=contributions>146 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/3331063?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
329329
<label><a href=https://github.com/selenium-ci>@selenium-ci</a></label>
330330
<span class=contributions>141 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/2972876?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
331331
<label><a href=https://github.com/ddavison>@ddavison</a></label>
@@ -337,11 +337,11 @@
337337
<label><a href=https://github.com/apps/dependabot>@dependabot[bot]</a></label>
338338
<span class=contributions>42 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/111569?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
339339
<label><a href=https://github.com/elgalu>@elgalu</a></label>
340-
<span class=contributions>24 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/191885?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
341-
<label><a href=https://github.com/luisfcorreia>@luisfcorreia</a></label>
342-
<span class=contributions>15 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/in/2740?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
340+
<span class=contributions>24 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/in/2740?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
343341
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
344-
<span class=contributions>13 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1315816?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
342+
<span class=contributions>15 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/191885?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
343+
<label><a href=https://github.com/luisfcorreia>@luisfcorreia</a></label>
344+
<span class=contributions>15 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1315816?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
345345
<label><a href=https://github.com/jamesmortensen>@jamesmortensen</a></label>
346346
<span class=contributions>12 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/233500?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
347347
<label><a href=https://github.com/WillAbides>@WillAbides</a></label>
@@ -537,7 +537,7 @@
537537
<label><a href=https://github.com/kzhirata>@kzhirata</a></label>
538538
<span class=contributions>47 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/in/2740?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
539539
<label><a href=https://github.com/apps/renovate>@renovate[bot]</a></label>
540-
<span class=contributions>40 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/5413013?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
540+
<span class=contributions>41 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/5413013?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
541541
<label><a href=https://github.com/bonigarcia>@bonigarcia</a></label>
542542
<span class=contributions>35 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/10259016?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
543543
<label><a href=https://github.com/boris779>@boris779</a></label>
@@ -705,22 +705,22 @@
705705
<label><a href=https://github.com/SinghHrmn>@SinghHrmn</a></label>
706706
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/24630998?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
707707
<label><a href=https://github.com/kapilyadav1204>@kapilyadav1204</a></label>
708+
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/8975264?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
709+
<label><a href=https://github.com/mookkiah>@mookkiah</a></label>
710+
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1610801?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
711+
<label><a href=https://github.com/palotas>@palotas</a></label>
712+
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/9452410?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
713+
<label><a href=https://github.com/miekof>@miekof</a></label>
714+
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/19201898?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
715+
<label><a href=https://github.com/MohabMohie>@MohabMohie</a></label>
716+
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/74588305?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
717+
<label><a href=https://github.com/mmonfared>@mmonfared</a></label>
708718
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/27953094?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
709719
<label><a href=https://github.com/rahuljhakant>@rahuljhakant</a></label>
710-
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/7305503?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
711-
<label><a href=https://github.com/natanportilho>@natanportilho</a></label>
712720
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/6885369?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
713721
<label><a href=https://github.com/naeemakram>@naeemakram</a></label>
714-
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/74588305?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
715-
<label><a href=https://github.com/mmonfared>@mmonfared</a></label>
716-
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/19201898?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
717-
<label><a href=https://github.com/MohabMohie>@MohabMohie</a></label>
718-
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/9452410?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
719-
<label><a href=https://github.com/miekof>@miekof</a></label>
720-
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/1610801?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
721-
<label><a href=https://github.com/palotas>@palotas</a></label>
722-
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/8975264?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
723-
<label><a href=https://github.com/mookkiah>@mookkiah</a></label>
722+
<span class=contributions>2 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/7305503?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
723+
<label><a href=https://github.com/natanportilho>@natanportilho</a></label>
724724
<span class=contributions>2 commits</span></div></div><h4 id=previous-selenium-websitegithubcomseleniumhqwwwseleniumhqorg><a href=//github.com/SeleniumHQ/www.seleniumhq.org/>Previous Selenium Website</a></h4><style type=text/css>.ghContributors{display:flex;flex-flow:wrap;align-content:flex-start}.ghContributors>div{width:50%;display:inline-flex;margin-bottom:5px}.ghContributors>div label{padding-left:4px}.ghContributors>div span{font-size:x-small;padding-left:4px}</style><div class=ghContributors><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/926454?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>
725725
<label><a href=https://github.com/lukeis>@lukeis</a></label>
726726
<span class=contributions>417 commits</span></div><div style=padding:10px><img src="https://avatars.githubusercontent.com/u/28229?v=4" class=inline width=100 height=100 style=height:100px;height:100px;margin-bottom:.25em;vertical-align:middle>

0 commit comments

Comments
 (0)