| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <title> |
| Module: Selenium::DevTools |
| |
| — Documentation by YARD 0.9.37 |
| |
| </title> |
| |
| <link rel="stylesheet" href="../css/style.css" type="text/css" /> |
| |
| <link rel="stylesheet" href="../css/common.css" type="text/css" /> |
| |
| <script type="text/javascript"> |
| pathId = "Selenium::DevTools"; |
| relpath = '../'; |
| </script> |
| |
| |
| <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script> |
| |
| <script type="text/javascript" charset="utf-8" src="../js/app.js"></script> |
| |
| |
| </head> |
| <body> |
| <div class="nav_wrap"> |
| <iframe id="nav" src="../class_list.html?1"></iframe> |
| <div id="resizer"></div> |
| </div> |
| |
| <div id="main" tabindex="-1"> |
| <div id="header"> |
| <div id="menu"> |
| |
| <a href="../_index.html">Index (D)</a> » |
| <span class='title'><span class='object_link'><a href="../Selenium.html" title="Selenium (module)">Selenium</a></span></span> |
| » |
| <span class="title">DevTools</span> |
| |
| </div> |
| |
| <div id="search"> |
| |
| <a class="full_list_link" id="class_list_link" |
| href="../class_list.html"> |
| |
| <svg width="24" height="24"> |
| <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect> |
| <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect> |
| <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect> |
| </svg> |
| </a> |
| |
| </div> |
| <div class="clear"></div> |
| </div> |
| |
| <div id="content"><h1>Module: Selenium::DevTools |
| |
| |
| |
| </h1> |
| <div class="box_info"> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <dl> |
| <dt>Defined in:</dt> |
| <dd>rb/lib/selenium/devtools.rb<span class="defines">,<br /> |
| rb/lib/selenium/devtools/v137.rb,<br /> rb/lib/selenium/devtools/v138.rb,<br /> rb/lib/selenium/devtools/v139.rb,<br /> rb/lib/selenium/devtools/version.rb</span> |
| </dd> |
| </dl> |
| |
| </div> |
| |
| <h2>Defined Under Namespace</h2> |
| <p class="children"> |
| |
| |
| <strong class="modules">Modules:</strong> <span class='object_link'><a href="DevTools/V137.html" title="Selenium::DevTools::V137 (module)">V137</a></span>, <span class='object_link'><a href="DevTools/V138.html" title="Selenium::DevTools::V138 (module)">V138</a></span>, <span class='object_link'><a href="DevTools/V139.html" title="Selenium::DevTools::V139 (module)">V139</a></span> |
| |
| |
| |
| |
| </p> |
| |
| |
| <h2> |
| Constant Summary |
| <small><a href="#" class="constants_summary_toggle">collapse</a></small> |
| </h2> |
| |
| <dl class="constants"> |
| |
| <dt id="VERSION-constant" class="">VERSION = |
| |
| </dt> |
| <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.139.0</span><span class='tstring_end'>'</span></span></pre></dd> |
| |
| </dl> |
| |
| |
| |
| |
| |
| <h2>Class Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2> |
| <ul class="summary"> |
| |
| <li class="public "> |
| <span class="summary_signature"> |
| |
| <a href="#version-class_method" title="version (class method)">.<strong>version</strong> ⇒ Object </a> |
| |
| |
| |
| </span> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <span class="summary_desc"><div class='inline'> |
| <p>Returns the value of attribute version.</p> |
| </div></span> |
| |
| </li> |
| |
| |
| </ul> |
| |
| |
| |
| |
| |
| <h2> |
| Class Method Summary |
| <small><a href="#" class="summary_toggle">collapse</a></small> |
| </h2> |
| |
| <ul class="summary"> |
| |
| <li class="public "> |
| <span class="summary_signature"> |
| |
| <a href="#load_version-class_method" title="load_version (class method)">.<strong>load_version</strong> ⇒ Object </a> |
| |
| |
| |
| </span> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| <span class="summary_desc"><div class='inline'></div></span> |
| |
| </li> |
| |
| |
| </ul> |
| |
| |
| |
| <div id="class_attr_details" class="attr_details"> |
| <h2>Class Attribute Details</h2> |
| |
| |
| <span id="version=-class_method"></span> |
| <div class="method_details first"> |
| <h3 class="signature first" id="version-class_method"> |
| |
| .<strong>version</strong> ⇒ <tt>Object</tt> |
| |
| |
| |
| |
| |
| </h3><div class="docstring"> |
| <div class="discussion"> |
| |
| <p>Returns the value of attribute version.</p> |
| |
| |
| </div> |
| </div> |
| <div class="tags"> |
| |
| |
| </div><table class="source_code"> |
| <tr> |
| <td> |
| <pre class="lines"> |
| |
| |
| 23 |
| 24 |
| 25</pre> |
| </td> |
| <td> |
| <pre class="code"><span class="info file"># File 'rb/lib/selenium/devtools.rb', line 23</span> |
| |
| <span class='kw'>def</span> <span class='id identifier rubyid_version'>version</span> |
| <span class='ivar'>@version</span> |
| <span class='kw'>end</span></pre> |
| </td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| |
| |
| <div id="class_method_details" class="method_details_list"> |
| <h2>Class Method Details</h2> |
| |
| |
| <div class="method_details first"> |
| <h3 class="signature first" id="load_version-class_method"> |
| |
| .<strong>load_version</strong> ⇒ <tt>Object</tt> |
| |
| |
| |
| |
| |
| </h3><table class="source_code"> |
| <tr> |
| <td> |
| <pre class="lines"> |
| |
| |
| 25 |
| 26 |
| 27 |
| 28 |
| 29 |
| 30 |
| 31</pre> |
| </td> |
| <td> |
| <pre class="code"><span class="info file"># File 'rb/lib/selenium/devtools.rb', line 25</span> |
| |
| <span class='kw'>def</span> <span class='id identifier rubyid_load_version'>load_version</span> |
| <span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>selenium/devtools/v</span><span class='embexpr_beg'>#{</span><span class='ivar'>@version</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> |
| <span class='kw'>rescue</span> <span class='const'>LoadError</span> |
| <span class='const'><span class='object_link'><a href="WebDriver.html" title="Selenium::WebDriver (module)">WebDriver</a></span></span><span class='period'>.</span><span class='id identifier rubyid_logger'><span class='object_link'><a href="WebDriver.html#logger-class_method" title="Selenium::WebDriver.logger (method)">logger</a></span></span><span class='period'>.</span><span class='id identifier rubyid_warn'><span class='object_link'><a href="WebDriver/Logger.html#warn-instance_method" title="Selenium::WebDriver::Logger#warn (method)">warn</a></span></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Could not load selenium-devtools v</span><span class='embexpr_beg'>#{</span><span class='ivar'>@version</span><span class='embexpr_end'>}</span><span class='tstring_content'>. Trying older versions.</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> |
| <span class='label'>id:</span> <span class='symbol'>:devtools</span> |
| <span class='id identifier rubyid_load_older_version'>load_older_version</span> |
| <span class='kw'>end</span></pre> |
| </td> |
| </tr> |
| </table> |
| </div> |
| |
| </div> |
| |
| </div> |
| |
| <div id="footer"> |
| Generated on Thu Aug 14 19:47:10 2025 by |
| <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> |
| 0.9.37 (ruby-3.2.8). |
| </div> |
| |
| </div> |
| </body> |
| </html> |