You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: py/docs/source/index.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ Example 0:
68
68
* open a new Firefox browser
69
69
* load the page at the given URL
70
70
71
-
::
71
+
.. code-block:: python
72
72
73
73
from selenium import webdriver
74
74
@@ -83,7 +83,7 @@ Example 1:
83
83
* search for "seleniumhq"
84
84
* close the browser
85
85
86
-
::
86
+
.. code-block:: python
87
87
88
88
from selenium import webdriver
89
89
from selenium.webdriver.common.keys import Keys
@@ -103,7 +103,7 @@ Example 2:
103
103
104
104
Selenium WebDriver is often used as a basis for testing web applications. Here is a simple example uisng Python's standard `unittest <http://docs.python.org/3/library/unittest.html>`_ library:
0 commit comments