32 lines
1.8 KiB
HTML
32 lines
1.8 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><title>Python: class Browser</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
</head><body bgcolor="#f0f0f8">
|
|
<p>
|
|
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
<tr bgcolor="#ffc8d8">
|
|
<td colspan=3 valign=bottom> <br>
|
|
<font color="#000000" face="helvetica, arial"><strong>core.utils.Browser</strong> = <a name="core.utils.Browser">class Browser</a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr>
|
|
|
|
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
<td colspan=2><tt>The Browser allows us to bring in selenium driver (a.k.a browser) related objects<br> </tt></td></tr>
|
|
<tr><td> </td>
|
|
<td width="100%">Methods defined here:<br>
|
|
<dl><dt><a name="Browser-get_browser"><strong>get_browser</strong></a>(self, browserType=None, headless=None)</dt><dd><tt>Construct new selenium driver (a.k.a browser object)<br>
|
|
Sets the "self.<strong>driver</strong>" in Context object.<br>
|
|
:note: Should consider creating methods per browser type.<br>
|
|
:param browserType: The browser we want to use<br>
|
|
:param headless: If we have a gui or not<br>
|
|
<br>
|
|
:return: the selenium browser driver</tt></dd></dl>
|
|
|
|
<hr>
|
|
Data descriptors defined here:<br>
|
|
<dl><dt><strong>__dict__</strong></dt>
|
|
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
|
|
</dl>
|
|
<dl><dt><strong>__weakref__</strong></dt>
|
|
<dd><tt>list of weak references to the object (if defined)</tt></dd>
|
|
</dl>
|
|
</td></tr></table>
|
|
</body></html> |