I need to use “find bar” in chrome because some of the pages that I test is don’t have its own search box.
So, how to open that “find bar” in chrome with a shortcut like ( ctrl + f / command + f) with katalons script? I have tried with WebUI.sendKeys(findTestObject('txt_Comment'), Keys.chord(Keys.CONTROL, 'f'))
, but still does’t work.
What is happening when you run the code? Is there an error? Does nothing happen? This would be the only way I know of to do this, however, I’m still not sure the purpose. Once the find bar is open, you wouldn’t be able to type anything into the field anyway.