Skip to content

Commit

Permalink
Update the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmintz committed Aug 9, 2023
1 parent 02ee818 commit 9f57451
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions help_docs/syntax_formats/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2106,10 +2106,12 @@ <h2><img src="https://seleniumbase.github.io/img/logo3b.png" title="SeleniumBase
<span class="bp">self</span><span class="o">.</span><span class="n">单击</span><span class="p">(</span><span class="s1">&#39;button:contains(&quot;搜索&quot;)&#39;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">断言文本</span><span class="p">(</span><span class="s2">&quot;舞龍&quot;</span><span class="p">,</span> <span class="s2">&quot;#firstHeading&quot;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">断言元素</span><span class="p">(</span><span class="s1">&#39;img[src*=&quot;Chinese_draak.jpg&quot;]&#39;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">回去</span><span class="p">()</span>
<span class="bp">self</span><span class="o">.</span><span class="n">输入文本</span><span class="p">(</span><span class="s1">&#39;input[name=&quot;search&quot;]&#39;</span><span class="p">,</span> <span class="s2">&quot;麻婆豆腐&quot;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">单击</span><span class="p">(</span><span class="s1">&#39;button:contains(&quot;搜索&quot;)&#39;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">断言文本</span><span class="p">(</span><span class="s2">&quot;麻婆豆腐&quot;</span><span class="p">,</span> <span class="s2">&quot;#firstHeading&quot;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">断言元素</span><span class="p">(</span><span class="s1">&#39;figure:contains(&quot;一家中餐館的麻婆豆腐&quot;)&#39;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">回去</span><span class="p">()</span>
<span class="bp">self</span><span class="o">.</span><span class="n">输入文本</span><span class="p">(</span><span class="s1">&#39;input[name=&quot;search&quot;]&#39;</span><span class="p">,</span> <span class="s2">&quot;精武英雄&quot;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">单击</span><span class="p">(</span><span class="s1">&#39;button:contains(&quot;搜索&quot;)&#39;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">断言元素</span><span class="p">(</span><span class="s1">&#39;img[src*=&quot;Fist_of_legend.jpg&quot;]&#39;</span><span class="p">)</span>
Expand Down
4 changes: 4 additions & 0 deletions help_docs/translations/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1764,6 +1764,7 @@ <h2 id="translated-tests"><a href="https://github.com/seleniumbase/SeleniumBase/
<span class="bp">self</span><span class="o">.</span><span class="n">输入文本</span><span class="p">(</span><span class="s1">&#39;input[name=&quot;search&quot;]&#39;</span><span class="p">,</span> <span class="s2">&quot;舞龍&quot;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">单击</span><span class="p">(</span><span class="s1">&#39;button:contains(&quot;搜索&quot;)&#39;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">断言文本</span><span class="p">(</span><span class="s2">&quot;舞龍&quot;</span><span class="p">,</span> <span class="s2">&quot;#firstHeading&quot;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">断言元素</span><span class="p">(</span><span class="s1">&#39;img[src*=&quot;Chinese_draak.jpg&quot;]&#39;</span><span class="p">)</span>
</code></pre></div>
<p>Here's another example:</p>
<div class="highlight"><pre><span></span><code><span class="c1"># Japanese Translation</span>
Expand All @@ -1778,6 +1779,9 @@ <h2 id="translated-tests"><a href="https://github.com/seleniumbase/SeleniumBase/
<span class="bp">self</span><span class="o">.</span><span class="n">クリックして</span><span class="p">(</span><span class="s2">&quot;#searchform button&quot;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">テキストを確認する</span><span class="p">(</span><span class="s2">&quot;アニメ&quot;</span><span class="p">,</span> <span class="s2">&quot;#firstHeading&quot;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">JS入力</span><span class="p">(</span><span class="s1">&#39;input[name=&quot;search&quot;]&#39;</span><span class="p">,</span> <span class="s2">&quot;寿司&quot;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">クリックして</span><span class="p">(</span><span class="s2">&quot;#searchform button&quot;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">テキストを確認する</span><span class="p">(</span><span class="s2">&quot;寿司&quot;</span><span class="p">,</span> <span class="s2">&quot;#firstHeading&quot;</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">要素を確認する</span><span class="p">(</span><span class="s1">&#39;img[alt=&quot;握り寿司&quot;]&#39;</span><span class="p">)</span>
</code></pre></div>
<p><a id="translation_api"></a></p>
<h2><img src="https://seleniumbase.io/img/logo6.png" title="SeleniumBase" width="32" /> Translation API 🈺</h2>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

0 comments on commit 9f57451

Please sign in to comment.