applitools / eyes.selenium.python

Applitools Eyes SDK for Selenium Python WebDriver
Apache License 2.0
10 stars 9 forks source link

Test is rerun multiple times when stitch mode is CSS #45

Open namnhatdoan opened 5 years ago

namnhatdoan commented 5 years ago

When I run below script, a lot of threads are created continuously and rerun the script.

from applitools.selenium import Eyes, StitchMode
from selenium.webdriver import Chrome
from selenium.webdriver.chrome.options import Options

eyes = Eyes()
eyes.api_key = '<my_api_key_here>'
eyes.force_full_page_screenshot = True
eyes.stitch_mode = StitchMode.CSS

try:
    driver = Chrome()
    eyes.open(driver, "My Project", "Test")
    driver.get('http://www.google.com')
    eyes.check_window("Home page")
finally:
    driver.close()
    eyes.abort_if_not_closed()

Currently I am using Python 3.7.3, eyes-selenium==3.16.2.

eirenik0 commented 5 years ago

@namnhatdoan it's know bug on windows OS. Before fix, you could suspend by adding eyes.send_dom = False . Sorry for late response. It would be fixed in 4.x sdk