jeudi 7 mai 2020

How to i call ember action with selenium using python script

here is the code and trying to automate calling this module.

Service Dashboard

I tried WebDriverWait(driver, 20).until(ExpectedConditions.elementToBeClickable(By.xpath("//button[@class='module' and text()='Dashboards'][@data-ember-action]"))).click();\

But received the following traceback (most recent call last): File "/home/netscout/PycharmProjects/Pulse-BTT/NG1-BTT.py", line 18, in WebDriverWait(driver, 20).until(ExpectedConditions.elementToBeClickable(By.xpath("//button[@class='module' and text()='Dashboards'][@data-ember-action]"))).click(); TypeError: 'str' object is not callable




Aucun commentaire:

Enregistrer un commentaire