Skip to content

Commit 520cb4d

Browse files
committed
use class Sphinx tag
1 parent 83f0464 commit 520cb4d

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

source/api.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -371,21 +371,21 @@ Controls the ChromeDriver and allows you to drive the browser. You
371371
will need to download the ChromeDriver executable from:
372372
http://code.google.com/p/selenium/downloads/list
373373

374-
- class WebDriver(executable_path="chromedriver", port=0)
374+
.. class:: WebDriver(executable_path="chromedriver", port=0)
375375

376-
base: selenium.webdriver.remote.webdriver.WebDriver
376+
base: selenium.webdriver.remote.webdriver.WebDriver
377377

378-
*executable_path:* path to the executable. If the default is used it
379-
assumes the executable is in the $PATH
378+
*executable_path:* path to the executable. If the default is used it
379+
assumes the executable is in the $PATH
380380

381-
*port:* port you would like the service to run, if left as 0, a free
382-
port will be found
381+
*port:* port you would like the service to run, if left as 0, a free
382+
port will be found
383383

384-
- save_screenshot(filename)
384+
.. method:: save_screenshot(filename)
385385

386-
Gets the screenshot of the current window. Returns False if there
387-
is any IOError, else returns True. Use full paths in your
388-
filename.
386+
Gets the screenshot of the current window. Returns False if there
387+
is any IOError, else returns True. Use full paths in your
388+
filename.
389389

390390

391391
Remote WebDriver
@@ -1002,7 +1002,7 @@ will be performed through this WebElement interface.
10021002
Find and return list of multiple elements by CSS selector.
10031003

10041004
.. method:: send_keys(*value)
1005-
1005+
10061006
Simulates typing into the element.
10071007

10081008
**RenderedWebElement Items**

0 commit comments

Comments
 (0)