1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3 <html><head><title>Python: module telemetry.internal.browser.browser_finder</title> 4 <meta charset="utf-8"> 5 </head><body bgcolor="#f0f0f8"> 6 7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 8 <tr bgcolor="#7799ee"> 9 <td valign=bottom> <br> 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.browser.html"><font color="#ffffff">browser</font></a>.browser_finder</strong></big></big></font></td 11 ><td align=right valign=bottom 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/browser/browser_finder.py">telemetry/internal/browser/browser_finder.py</a></font></td></tr></table> 13 <p><tt>Finds browsers that can be controlled by telemetry.</tt></p> 14 <p> 15 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 16 <tr bgcolor="#aa55cc"> 17 <td colspan=3 valign=bottom> <br> 18 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> 19 20 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> 21 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="telemetry.internal.backends.chrome.android_browser_finder.html">telemetry.internal.backends.chrome.android_browser_finder</a><br> 22 <a href="telemetry.internal.backends.mandoline.android_mandoline_finder.html">telemetry.internal.backends.mandoline.android_mandoline_finder</a><br> 23 <a href="telemetry.internal.browser.browser_finder_exceptions.html">telemetry.internal.browser.browser_finder_exceptions</a><br> 24 </td><td width="25%" valign=top><a href="telemetry.internal.backends.chrome.cros_browser_finder.html">telemetry.internal.backends.chrome.cros_browser_finder</a><br> 25 <a href="telemetry.decorators.html">telemetry.decorators</a><br> 26 <a href="telemetry.internal.backends.chrome.desktop_browser_finder.html">telemetry.internal.backends.chrome.desktop_browser_finder</a><br> 27 </td><td width="25%" valign=top><a href="telemetry.internal.backends.mandoline.desktop_mandoline_finder.html">telemetry.internal.backends.mandoline.desktop_mandoline_finder</a><br> 28 <a href="telemetry.internal.platform.device_finder.html">telemetry.internal.platform.device_finder</a><br> 29 <a href="telemetry.internal.backends.chrome.ios_browser_finder.html">telemetry.internal.backends.chrome.ios_browser_finder</a><br> 30 </td><td width="25%" valign=top><a href="logging.html">logging</a><br> 31 <a href="operator.html">operator</a><br> 32 <a href="telemetry.internal.backends.remote.trybot_browser_finder.html">telemetry.internal.backends.remote.trybot_browser_finder</a><br> 33 </td></tr></table></td></tr></table><p> 34 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 35 <tr bgcolor="#eeaa77"> 36 <td colspan=3 valign=bottom> <br> 37 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> 38 39 <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> 40 <td width="100%"><dl><dt><a name="-FindAllBrowserTypes"><strong>FindAllBrowserTypes</strong></a>(options)</dt></dl> 41 <dl><dt><a name="-FindBrowser"><strong>FindBrowser</strong></a>(*args, **kwargs)</dt><dd><tt>Finds the best PossibleBrowser object given a BrowserOptions object.<br> 42 <br> 43 Args:<br> 44 A BrowserOptions object.<br> 45 <br> 46 Returns:<br> 47 A PossibleBrowser object.<br> 48 <br> 49 Raises:<br> 50 BrowserFinderException: Options improperly set, or an error occurred.</tt></dd></dl> 51 <dl><dt><a name="-GetAllAvailableBrowserTypes"><strong>GetAllAvailableBrowserTypes</strong></a>(*args, **kwargs)</dt><dd><tt>Returns a list of available browser types.<br> 52 <br> 53 Args:<br> 54 options: A BrowserOptions object.<br> 55 <br> 56 Returns:<br> 57 A list of browser type strings.<br> 58 <br> 59 Raises:<br> 60 BrowserFinderException: Options are improperly set, or an error occurred.</tt></dd></dl> 61 <dl><dt><a name="-GetAllAvailableBrowsers"><strong>GetAllAvailableBrowsers</strong></a>(*args, **kwargs)</dt><dd><tt>Returns a list of available browsers on the device.<br> 62 <br> 63 Args:<br> 64 options: A BrowserOptions object.<br> 65 device: The target device, which can be None.<br> 66 <br> 67 Returns:<br> 68 A list of browser instances.<br> 69 <br> 70 Raises:<br> 71 BrowserFinderException: Options are improperly set, or an error occurred.</tt></dd></dl> 72 </td></tr></table><p> 73 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 74 <tr bgcolor="#55aa55"> 75 <td colspan=3 valign=bottom> <br> 76 <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> 77 78 <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> 79 <td width="100%"><strong>BROWSER_FINDERS</strong> = [<module 'telemetry.internal.backends.chrome.desk...rnal/backends/chrome/desktop_browser_finder.pyc'>, <module 'telemetry.internal.backends.chrome.andr...rnal/backends/chrome/android_browser_finder.pyc'>, <module 'telemetry.internal.backends.chrome.cros...nternal/backends/chrome/cros_browser_finder.pyc'>, <module 'telemetry.internal.backends.chrome.ios_...internal/backends/chrome/ios_browser_finder.pyc'>, <module 'telemetry.internal.backends.remote.tryb...ernal/backends/remote/trybot_browser_finder.pyc'>, <module 'telemetry.internal.backends.mandoline.d...backends/mandoline/desktop_mandoline_finder.pyc'>, <module 'telemetry.internal.backends.mandoline.a...backends/mandoline/android_mandoline_finder.pyc'>]</td></tr></table> 80 </body></html>