${get_t}= Get Text //h6[@class='MuiTypography-root MuiTypography-subtitle2']
Log ${get_t}
${get_t1}= Get Element Count xpath://h6[@class='MuiTypography-root MuiTypography-subtitle2']
Log ${get_t1}
${get_t3}= Get WebElements xpath://h6[@class='MuiTypography-root MuiTypography-subtitle2']
Log ${get_t3}
Run Code Online (Sandbox Code Playgroud)
当我得到 Count 时,它会显示计数,但是当我使用Get WebElements打印它时,它不会打印文本。如果我给Get Text,它会单独打印第一个文本。
python selenium robotframework selenium-webdriver robotframework-ide
如何检查 Appium 中元素的颜色代码/颜色? 我无法在 appium 中找到元素的颜色,因为在一个字段中我想自动化以不同颜色定义的输出。如何使用 Appium/UI automator 验证这一点。