Bug fix for desc

This commit is contained in:
naibo 2023-08-15 17:30:59 +08:00
parent 593d01ed9e
commit 281d983436
2 changed files with 3 additions and 3 deletions

View File

@ -382,7 +382,7 @@ This option is an advanced feature that allows direct manipulation of the runnin
3. Manipulate the above-defined global variable: `self.myVar = self.myVar + 1`
4. Print the above-defined global variable: `print(self.myVar)`
If you want to record your custom variable as a field, please select the next option, "Evaluate Python expressions in the execution environment."
If you want to record your custom variable as a field, please select the next option, "Get value of a Python expression (the "eval" operation)"
If you want to import and use a third-party library that the program itself does not carry, you need to first use tools such as pip to install this library locally, and then add the path of the installed library before import, like:
(1) In the system command line execute the following command to install the library:
@ -397,7 +397,7 @@ This option is an advanced feature that allows directly returning the expression
1. Return relevant values of the current browser object. Use `self.browser` to refer to the current browser being operated. You can directly use Selenium's API to perform operations, such as `self.browser.find_element(By.CSS_SELECTOR, "body").text` to return the text on the current page.
2. Return the value of a custom global variable: `self.myVar`
3. Return the result of a conditional statement: `self.myVar == 1`
Please note that this feature does not support assigning values to variables. In other words, you cannot write something like `self.myVar = 1`. If you want to perform assignment operations, please select the previous option, "Evaluate Python expressions in the execution environment."</pre>
Please note that this feature does not support assigning values to variables. In other words, you cannot write something like `self.myVar = 1`. If you want to perform assignment operations, please select the previous option, "Run Python code on current environment (the "exec" operation)"</pre>
<p style="margin-top: 15px">Whether to record the output/return value of the execution as a field: </p>
<p><select v-model='nowNode["parameters"]["recordASField"]' class="form-control">
<option value = 0>No</option>

View File

@ -398,7 +398,7 @@ print(emotlib.emoji()) # 使用其中的函数。
1. 返回当前浏览器对象的相关值用self.browser表示当前操作的浏览器可直接用selenium的API进行操作如self.browser.find_element(By.CSS_SELECTOR, "body").text即可返回当前页面的文字。
2. 返回自定义全局变量的值self.myVar
3. 返回条件判断的值self.myVar == 1
注意此功能不能对变量进行赋值操作即不可以写self.myVar = 1这种如果想要进行赋值操作请选择上一个“在执行环境下获得Python表达式值eval操作)”选项。</pre>
注意此功能不能对变量进行赋值操作即不可以写self.myVar = 1这种如果想要进行赋值操作请选择上一个“在执行环境下运行Python代码exec操作)”选项。</pre>
<p style="margin-top: 15px">是否将执行后的输出/返回值作为字段记录:</p>
<p><select v-model='nowNode["parameters"]["recordASField"]' class="form-control">
<option :value = 0>仍可在任意操作中用Field["操作名"]表示此命令返回值)</option>