selenium-webdriver
Version:
The official WebDriver JavaScript bindings from the Selenium project
4 lines • 6.99 kB
HTML
<meta charset="UTF-8"><meta http-equiv="Content-Language" content="en" /><title>Options</title><link href="dossier.css" rel="stylesheet" type="text/css"><div id="main-wrapper"><input type="checkbox" id="sidenav-toggle" /><main><header><h1>Class Options</h1><a class="source" href="source/firefox/index.js.src.html#l201">code »</a></header><section><p>Configuration options for the FirefoxDriver.<h2>Constructor</h2><div class="ctor wrap-details public"><div><div class="ctor"><span class="member">Options <span class="args">( )</span></span></div></div></div></section><div id="visibility-controls"><b>Show:</b><label for="show-public"><span><input type="checkbox" id="show-public" checked/></span>Public</label><label for="show-protected"><span><input type="checkbox" id="show-protected"/></span>Protected</label><label for="show-private"><span><input type="checkbox" id="show-private"/></span>Private</label></div><section id="instance-methods"><h2>Instance Methods</h2><div class="wrap-details public"><div><details class="function"><summary><div><a class="source" href="source/firefox/index.js.src.html#l74">code »</a><span class="member"><a name="setBinary">setBinary</a> <span class="args">( binary )</span> ⇒ <code class="type">!Options</code></span></div><p>Sets the binary to use. The binary may be specified as the path to a Firefox
executable, or as a <code class="type"><a class="unresolved-link">Binary</a></code> object.</summary><div class="info"><table><tbody><tr><th>Parameters<tr><td><dl><dt>binary: <code class="type">(<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>|!Binary)</code><dd>The binary to use.</dl><tr><th>Returns<tr><td><dl>A self reference.</dl></table></div></details></div></div><div class="wrap-details public"><div><details class="function"><summary><div><a class="source" href="source/firefox/index.js.src.html#l88">code »</a><span class="member"><a name="setLoggingPreferences">setLoggingPreferences</a> <span class="args">( prefs )</span> ⇒ <code class="type">!Options</code></span></div><p>Sets the logging preferences for the new session.</summary><div class="info"><table><tbody><tr><th>Parameters<tr><td><dl><dt>prefs: <code class="type"><a href="class_webdriver_logging_Preferences.html">webdriver.logging.Preferences</a></code><dd>The logging preferences.</dl><tr><th>Returns<tr><td><dl>A self reference.</dl></table></div></details></div></div><div class="wrap-details public"><div><details class="function"><summary><div><a class="source" href="source/firefox/index.js.src.html#l58">code »</a><span class="member"><a name="setProfile">setProfile</a> <span class="args">( profile )</span> ⇒ <code class="type">!Options</code></span></div><p>Sets the profile to use. The profile may be specified as a
<code class="type"><a class="unresolved-link">Profile</a></code> object or as the path to an existing Firefox profile to use
as a template.</summary><div class="info"><table><tbody><tr><th>Parameters<tr><td><dl><dt>profile: <code class="type">(<a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>|!Profile)</code><dd>The profile to use.</dl><tr><th>Returns<tr><td><dl>A self reference.</dl></table></div></details></div></div><div class="wrap-details public"><div><details class="function"><summary><div><a class="source" href="source/firefox/index.js.src.html#l100">code »</a><span class="member"><a name="setProxy">setProxy</a> <span class="args">( proxy )</span> ⇒ <code class="type">!Options</code></span></div><p>Sets the proxy to use.</summary><div class="info"><table><tbody><tr><th>Parameters<tr><td><dl><dt>proxy: <code class="type"><a href="namespace_webdriver.html#webdriver.ProxyConfig">webdriver.ProxyConfig</a></code><dd>The proxy configuration to use.</dl><tr><th>Returns<tr><td><dl>A self reference.</dl></table></div></details></div></div><div class="wrap-details public"><div><details class="function"><summary><div><a class="source" href="source/firefox/index.js.src.html#l111">code »</a><span class="member"><a name="toCapabilities">toCapabilities</a> <span class="args">( opt_remote )</span> ⇒ <code class="type">!<a href="class_webdriver_Capabilities.html">webdriver.Capabilities</a></code></span></div><p>Converts these options to a <code class="type"><a href="class_webdriver_Capabilities.html">webdriver.Capabilities</a></code> instance.</summary><div class="info"><table><tbody><tr><th>Parameters<tr><td><dl><dt>opt_remote</dl><tr><th>Returns<tr><td><dl>A new capabilities object.</dl></table></div></details></div></div></section><section id="instance-properties"><h2>Instance Properties</h2><div class="wrap-details private"><div><details><summary><div><a class="source" href="source/firefox/index.js.src.html#l40">code »</a><span class="member"><a name="binary_">binary_</a> : <code class="type">Binary</code></span></div></summary></details></div></div><div class="wrap-details private"><div><details><summary><div><a class="source" href="source/firefox/index.js.src.html#l43">code »</a><span class="member"><a name="logPrefs_">logPrefs_</a> : <code class="type"><a href="class_webdriver_logging_Preferences.html">webdriver.logging.Preferences</a></code></span></div></summary></details></div></div><div class="wrap-details private"><div><details><summary><div><a class="source" href="source/firefox/index.js.src.html#l37">code »</a><span class="member"><a name="profile_">profile_</a> : <code class="type">Profile</code></span></div></summary></details></div></div><div class="wrap-details private"><div><details><summary><div><a class="source" href="source/firefox/index.js.src.html#l46">code »</a><span class="member"><a name="proxy_">proxy_</a> : <code class="type"><a href="namespace_webdriver.html#webdriver.ProxyConfig">webdriver.ProxyConfig</a></code></span></div></summary></details></div></div></section></main><nav id="topnav"><div><div id="menubutton"><label for="sidenav-toggle">Menu</label></div><form id="searchbox"><div><input type="search" placeholder="Search" tabindex="1"></div></form></div></nav><nav id="sidenav"><input type="checkbox" id="sidenav-types-ctrl" /><input type="checkbox" id="sidenav-files-ctrl" /><input type="checkbox" id="sidenav-modules-ctrl" /><a id="sidenav-overview"><div><h4>Overview</h4></div></a><div id="sidenav-types"><label for="sidenav-types-ctrl"><h4>Types</h4></label><i>Loading</i></div><div id="sidenav-modules"><label for="sidenav-modules-ctrl"><h4>Modules</h4></label><i>Loading</i></div><div id="sidenav-files"><label for="sidenav-files-ctrl"><h4>Files</h4></label><i>Loading</i></div><a href="license.html"><div><h4>License</h4></div></a></nav><div id="push-footer"></div></div><footer><a href="https://github.com/jleyba/js-dossier">Generated by dossier</a></footer><script src="types.js"></script><script src="dossier.js"></script>