WebUI.click() with shadow dom objects is very slow

Please let us know how would your work be affected if this issue has not been resolved?

  1. I can continue my job, but my performance is lower than expected

Operating System

OSX Catalina

Katalon Studio Version

7.7.2

Hi,

I tryed Shadow dom test following this page

https://docs.katalon.com/katalon-studio/docs/shadow_dom_elements_testing.html#automate-testing-shadow-dom-with-katalon-studio

However, it took a lot of time to execute WebUI.click() like below. (31.218s)

スクリーンショット 2020-11-05 18.37.21

Hi @sura

Please provide the content of the Console Tab, wrapped in a triple quote block.

Hi @ThanhTo

Sorry.

2020-11-05 19:10:24.003 INFO  c.k.katalon.core.main.TestCaseExecutor   - --------------------
2020-11-05 19:10:24.006 INFO  c.k.katalon.core.main.TestCaseExecutor   - START Test Cases/Shadow Dom Testing
2020-11-05 19:10:24.314 DEBUG testcase.Shadow Dom Testing              - 1: openBrowser("http://www.kaidez.com/samples/template-shadowdom-practice/")
2020-11-05 19:10:24.577 INFO  c.k.k.core.webui.driver.DriverFactory    - Starting 'Chrome' driver
11 05, 2020 7:10:24 午後 org.openqa.selenium.remote.DesiredCapabilities chrome
情報: Using `new ChromeOptions()` is preferred to `DesiredCapabilities.chrome()`
2020-11-05 19:10:24.621 INFO  c.k.k.core.webui.driver.DriverFactory    - Action delay is set to 0 milliseconds
Starting ChromeDriver 85.0.4183.87 (cd6713ebf92fa1cacc0f1a598df280093af0c5d7-refs/branch-heads/4183@{#1689}) on port 8675
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
[1604571026.486][WARNING]: This version of ChromeDriver has not been tested with Chrome version 86.
11 05, 2020 7:10:26 午後 org.openqa.selenium.remote.ProtocolHandshake createSession
情報: Detected dialect: W3C
2020-11-05 19:10:26.607 INFO  c.k.k.core.webui.driver.DriverFactory    - sessionId = 4ce4dea8bb491c8cd7bfe966ecef7945
2020-11-05 19:10:26.622 INFO  c.k.k.core.webui.driver.DriverFactory    - browser = Chrome 86.0.4240.183
2020-11-05 19:10:26.622 INFO  c.k.k.core.webui.driver.DriverFactory    - platform = Mac OS X
2020-11-05 19:10:26.623 INFO  c.k.k.core.webui.driver.DriverFactory    - seleniumVersion = 3.141.59
2020-11-05 19:10:26.624 INFO  c.k.k.core.webui.driver.DriverFactory    - proxyInformation = ProxyInformation { proxyOption=NO_PROXY, proxyServerType=HTTP, username=, password=********, proxyServerAddress=, proxyServerPort=0, executionList="", isApplyToDesiredCapabilities=true }
2020-11-05 19:10:29.429 DEBUG testcase.Shadow Dom Testing              - 2: click(findTestObject("aStoreLink"))
2020-11-05 19:11:00.753 DEBUG testcase.Shadow Dom Testing              - 3: delay(5)
2020-11-05 19:11:05.771 DEBUG testcase.Shadow Dom Testing              - 4: switchToWindowTitle("Object-Oriented JavaScript, 2nd Edition: Stoyan Stefanov, Kumar Chetan Sharma: 9781849693127: Amazon.com: Books")
2020-11-05 19:11:05.860 DEBUG testcase.Shadow Dom Testing              - 5: closeBrowser()
2020-11-05 19:11:05.992 INFO  c.k.katalon.core.main.TestCaseExecutor   - END Test Cases/Shadow Dom Testing

Hi @ThanhTo

Could you please give me some advice ?

you solved this issue ???

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.