> For the complete documentation index, see [llms.txt](https://wwydev.gitbook.io/crawlipt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wwydev.gitbook.io/crawlipt/zhi-ling/guan-jian-ci.md).

# Keyword

When defining action and condition methods, parameter names should avoid these keywords (drvier, store, xpath, css need to be explicitly defined to take effect)

<table><thead><tr><th>keywords</th><th>introduction</th></tr></thead><tbody><tr><td>method</td><td>Indicate the name of the action method</td></tr><tr><td>condition</td><td>Indicate the name of the condition method</td></tr><tr><td>next</td><td>Next Action Script</td></tr><tr><td>if</td><td>'judge' keyword must appear simultaneously with method</td></tr><tr><td>check</td><td>'judge' keyword, 'check' priority higher than 'if'</td></tr><tr><td>loop</td><td>'loop' keyword, 'loop' priority is higher than 'check'</td></tr><tr><td>while</td><td>Keyword within 'loop'</td></tr><tr><td>return_flag</td><td>Return value tag keywords</td></tr><tr><td>store</td><td>Memory keywords will be automatically passed in after explicit definition</td></tr><tr><td>driver</td><td><p>The added action and condition methods must include a driver. The driver type needs to be as follows:</p><pre class="language-python"><code class="lang-python">from selenium.webdriver.remote.webdriver import WebDriver
</code></pre></td></tr><tr><td>xpath</td><td>Explicitly defined will automatically perform implicit waiting before execution</td></tr><tr><td>css</td><td>Explicitly defined will automatically perform implicit waiting before execution</td></tr><tr><td>fail_script</td><td>Execute the script when the condition result is False</td></tr></tbody></table>
