I am trying to automated Salesforce using Selenium WebDriver and so far I have faced many challenges and also overcame after following the suggestions provided in the community. Here, I am facing a very tough situation while 'Adding products to an existing Quote'. Steps:
- Search for an existing Quote - Completed
- Click on 'Edit Lines' - Completed
- Add Products - After 'Inspect Element', it shows as 'paper-button'. Firefox/Chrome can validate this WebElement in Classic mode but not in Lightening Experience.
$x("//paper-button[contains(text(),'Add Products')]") - This is locating 'Add Products' element ONLY in Classic mode. Do I need to ask the developer to make any tweak at the backend?
Can anyone help me how to handle this?