skip to Main Content

Ubuntu – Seleniumbase not logging

I am trying to capture responses using Selenium and undetected, this is working normally using those two: import undetected_chromedriver as uc capabilities = DesiredCapabilities.CHROME capabilities["goog:loggingPrefs"] = {"performance": "ALL"} driver = uc.Chrome(headless=False, desired_capabilities=capabilities) driver.get(url) time.sleep(5) logs_raw = driver.get_log("performance") This is working…

VIEW QUESTION

Unable to get the value of an element in HTML in Python and Selenium

I'm trying to get DE(GERMANY) and IN(INDIA) printed in to a list using class="lnsTableCell lnsTableCell--left" from the html below so that I can create a CSV later. <div role="gridcell" tabindex="0" data-test-subj="dataGridRowCell" class="euiDataGridRowCell euiDataGridRowCell--stripe euiDataGridRowCell--firstColumn" style="position: absolute; left: 0px; top: 73px;…

VIEW QUESTION

How to use Javascript in Selenium in Java

I found out that JavaScript is not working at all in my Selenium Tests in Java. I do not know why. Any suggestions? ((JavascriptExecutor) driver).executeScript("return arguments[0].innerText", driver.findElement(By.cssSelector("[id$=main:domainsCounter]"))); The javascript works fine in the console of the browser.

VIEW QUESTION
Back To Top
Search