Skip to content

Commit

Permalink
#3 Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gidztech committed Jan 14, 2019
1 parent f839c20 commit da6ed30
Show file tree
Hide file tree
Showing 5 changed files with 3,325 additions and 2,294 deletions.
54 changes: 27 additions & 27 deletions docs/classes/extensions.html
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L51">Extensions.ts:51</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L51">Extensions.ts:51</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -1102,7 +1102,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> default<wbr>Timeout</h3
<div class="tsd-signature tsd-kind-icon">default<wbr>Timeout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L51">Extensions.ts:51</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L51">Extensions.ts:51</a></li>
</ul>
</aside>
</section>
Expand All @@ -1112,7 +1112,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> puppeteer<wbr>Page</h3>
<div class="tsd-signature tsd-kind-icon">puppeteer<wbr>Page<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Page</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L49">Extensions.ts:49</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L49">Extensions.ts:49</a></li>
</ul>
</aside>
</section>
Expand All @@ -1122,7 +1122,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> resource<wbr>Requests</
<div class="tsd-signature tsd-kind-icon">resource<wbr>Requests<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Request</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> =&nbsp;[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L50">Extensions.ts:50</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L50">Extensions.ts:50</a></li>
</ul>
</aside>
</section>
Expand All @@ -1139,7 +1139,7 @@ <h3>evaluate</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L502">Extensions.ts:502</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L502">Extensions.ts:502</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1188,7 +1188,7 @@ <h3>fast<wbr>Forward<wbr>Time</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L474">Extensions.ts:474</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L474">Extensions.ts:474</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1219,7 +1219,7 @@ <h3>get<wbr>Property<wbr>Value</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L412">Extensions.ts:412</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L412">Extensions.ts:412</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1259,7 +1259,7 @@ <h3>get<wbr>Text</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L400">Extensions.ts:400</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L400">Extensions.ts:400</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1293,7 +1293,7 @@ <h3>get<wbr>Value</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L389">Extensions.ts:389</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L389">Extensions.ts:389</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1327,7 +1327,7 @@ <h3>is<wbr>Element<wbr>Focused</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L435">Extensions.ts:435</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L435">Extensions.ts:435</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1361,7 +1361,7 @@ <h3>reset<wbr>Resource<wbr>Requests</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L510">Extensions.ts:510</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L510">Extensions.ts:510</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1383,7 +1383,7 @@ <h3>turn<wbr>Off<wbr>Animations</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L446">Extensions.ts:446</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L446">Extensions.ts:446</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -1405,7 +1405,7 @@ <h3>wait<wbr>For</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L376">Extensions.ts:376</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L376">Extensions.ts:376</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1436,7 +1436,7 @@ <h3>wait<wbr>For<wbr>Document<wbr>Title</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L345">Extensions.ts:345</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L345">Extensions.ts:345</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1467,7 +1467,7 @@ <h3>wait<wbr>For<wbr>Element<wbr>Count</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L326">Extensions.ts:326</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L326">Extensions.ts:326</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1504,7 +1504,7 @@ <h3>wait<wbr>For<wbr>Function</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L161">Extensions.ts:161</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L161">Extensions.ts:161</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1564,7 +1564,7 @@ <h3>wait<wbr>For<wbr>Loaded<wbr>Web<wbr>Font<wbr>Count<wbr>ToBe</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L105">Extensions.ts:105</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L105">Extensions.ts:105</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1601,7 +1601,7 @@ <h3>wait<wbr>For<wbr>Nth<wbr>Selector<wbr>Attribute</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L233">Extensions.ts:233</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L233">Extensions.ts:233</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1644,7 +1644,7 @@ <h3>wait<wbr>For<wbr>Nth<wbr>Selector<wbr>Attribute<wbr>Value</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L275">Extensions.ts:275</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L275">Extensions.ts:275</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1693,7 +1693,7 @@ <h3>wait<wbr>For<wbr>Resource</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L68">Extensions.ts:68</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L68">Extensions.ts:68</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1730,7 +1730,7 @@ <h3>wait<wbr>For<wbr>Selector<wbr>Attribute</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L260">Extensions.ts:260</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L260">Extensions.ts:260</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1767,7 +1767,7 @@ <h3>wait<wbr>For<wbr>Selector<wbr>Attribute<wbr>Value</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L307">Extensions.ts:307</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L307">Extensions.ts:307</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1810,7 +1810,7 @@ <h3>wait<wbr>For<wbr>Url</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L361">Extensions.ts:361</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L361">Extensions.ts:361</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1841,7 +1841,7 @@ <h3>wait<wbr>Until<wbr>Exists<wbr>And<wbr>Visible</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L172">Extensions.ts:172</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L172">Extensions.ts:172</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1877,7 +1877,7 @@ <h3>wait<wbr>Until<wbr>Selector<wbr>Has<wbr>Visible<wbr>Content</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L191">Extensions.ts:191</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L191">Extensions.ts:191</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1908,7 +1908,7 @@ <h3>wait<wbr>While<wbr>Exists<wbr>And<wbr>Visible</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L182">Extensions.ts:182</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L182">Extensions.ts:182</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1944,7 +1944,7 @@ <h3>wait<wbr>While<wbr>Selector<wbr>Has<wbr>Visible<wbr>Content</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/Extensions.ts#L211">Extensions.ts:211</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/Extensions.ts#L211">Extensions.ts:211</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
12 changes: 5 additions & 7 deletions docs/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -936,14 +936,12 @@ <h2 id="usage">Usage</h2>
<li><code>page</code> Puppeteer page instance</li>
<li><code>timeout</code> [Optional] Timeout for waits in milliseconds (default: 5000 ms)</li>
</ul>
<pre><code class="lang-javascript"><span class="hljs-keyword">const</span> extensions = <span class="hljs-built_in">require</span>(<span class="hljs-string">'puppeteer-extensions'</span>)(page);
</code></pre>
<pre><code class="lang-javascript">(<span class="hljs-keyword">async</span>() {
<pre><code class="language-javascript"><span class="hljs-keyword">const</span> extensions = <span class="hljs-built_in">require</span>(<span class="hljs-string">'puppeteer-extensions'</span>)(page);</code></pre>
<pre><code class="language-javascript">(<span class="hljs-keyword">async</span>() {
<span class="hljs-keyword">const</span> listItem = <span class="hljs-string">'.todo-list li'</span>;
...
await extensions.waitForNthSelectorAttributeValue(listItem, <span class="hljs-number">1</span>, <span class="hljs-string">'class'</span>, <span class="hljs-string">'completed'</span>);
})();

</code></pre>
</div>
<section class="tsd-panel-group tsd-index-group">
Expand Down Expand Up @@ -980,7 +978,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> DEFAULT_<wbr>TIMEOUT_<wbr>M
<div class="tsd-signature tsd-kind-icon">DEFAULT_<wbr>TIMEOUT_<wbr>MS<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> =&nbsp;5000</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/index.ts#L3">index.ts:3</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/index.ts#L3">index.ts:3</a></li>
</ul>
</aside>
</section>
Expand All @@ -997,7 +995,7 @@ <h3><span class="tsd-flag ts-flagExport assignment">Export assignment</span> ini
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/index.ts#L10">index.ts:10</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/index.ts#L10">index.ts:10</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1030,7 +1028,7 @@ <h3>serialize<wbr>Function<wbr>With<wbr>Args</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/cec644e/src/external/serialization-utils.ts#L90">external/serialization-utils.ts:90</a></li>
<li>Defined in <a href="https://github.com/HuddleEng/puppeteer-extensions/blob/f839c20/src/external/serialization-utils.ts#L90">external/serialization-utils.ts:90</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
Loading

0 comments on commit da6ed30

Please sign in to comment.