we have automation script which is working in one sandbox but not in other we have same HTML and version. both sandboxes are in spring 20 version
we are getting this below exception
Expected condition failed: waiting for visibility of Proxy element for: DefaultElementLocator 'By.xpath: //label//div[text()='Sales Capture']/ancestor::div[@class=' slds slds-form-element large']//input' (tried for 120 second(s) with 500 MILLISECONDS interval)
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of Proxy element for: DefaultElementLocator 'By.xpath: //label//div[text()='Sales Capture']/ancestor::div[@class=' slds slds-form-element large']//input' (tried for 120 second(s) with 500 MILLISECONDS interval)
below is the xpath for the sales capture textbox..which we are trying to click and set the text after switching to iframe inside the page.
'By.xpath: //label//div[text()='Sales Capture']/ancestor::div[@class=' slds slds-form-element large']//input'
this page is using lightning app to load aura component.
attached the screenshot of the HTML generated.