This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi – | |
Sam from Mailinator here ! | |
We did indeed make a change as indicated, however to our surprise it was specifically around html | |
sanitization of email content. No changes to our site happened. | |
We're very careful about ever changing HTML structure as we realize users depend on it. Typically we version the entire site when going to new HTML with old versions remaining available. | |
We've briefly looked at the issue above. If anyone has ideas of what happened, or what we can do to make things more identifiable we'd be interested in hearing them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CRITICAL lib:driver_listener.py:80 Selenium raised java.net.SocketException: Connection reset | |
CRITICAL lib:driver_listener.py:80 Selenium raised java.net.ConnectException: Connection refused (Connection refused) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wait<WebDriver> wait = new FluentWait<>(driver) | |
.withTimeout(Duration.ofSeconds(30)) | |
.pollingEvery(Duration.ofMillis(100)) | |
.ignoring(StaleElementReferenceException.class) | |
.ignoring(NoSuchElementException.class); | |
WebElement element = wait.until(ExpectedConditions.elementToBeClickable(locator)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium.webdriver.support import expected_conditions as EC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WebDriverWait(driver, 0.5).until(EC.element_to_be_clickable(obj)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install seleniumbase | |
seleniumbase install chromedriver | |
seleniumbase mkdir ui_tests | |
cd ui_tests | |
seleniumbase mkfile new_test.py | |
pytest new_test.py |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chrome_options.add_argument('--headless') | |
chrome_options.add_argument('--no-sandbox') | |
chrome_options.add_argument('--disable-dev-shm-usage') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scroll_script = "window.scrollTo(0, 10000);" | |
driver.execute_script(scroll_script) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
driver.findElement(By.cssSelector(".menu-btn.btn")).click()``` | |
becomes | |
```self.click(".menu-btn.btn") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM maven:3.6.1-jdk-8 | |
WORKDIR /usr/src/mymaven | |
COPY . . | |
RUN apt-get update && apt-get install jq -y && chmod +x wait-for-grid.sh |