Currently, I am performing an acceptance test using watir-webdriver with Ruby. I have a question regarding ExtJs support with Watir webdriver. Is it possible to locate elements that are dynamically generated by ExtJS? I have attempted the following:
@browser = Watir::Browser.new :chrome
# Navigate to the page
@cbo = @browser.execute_script "return Ext.getCmp('cboCategory')"
Unfortunately, this approach did not yield the desired results. Any advice or suggestions would be greatly appreciated. Thank you.