Hers is How You Can Integrate Percy with Selenium Python Tests
Step by step tutorial to Integrate Percy with Selenium Python Tests Setup @percy/cli (currently only available from NPM). This package handles all of the processing and interactions with Percy's API: npm install --save-dev @percy/cli Install the Python package for Percy-Selenium: pip install percy-selenium Step 1: Import the percy snapshot function from the percy_selenium package into your test in order to begin taking snapshots of your Selenium tests. # At the top of your test file(s) from percy import percy_snapshot Step 2: You can now add visual tests to your current testing framework: from selenium import webdriver from percy import percy_snapshot browser.get('http://localhost:8000') browser.implicitly_wait(10) new_todo_input = browser.find_element_by_class_name('new-todo') percy_snapshot(browser, 'Empty Todo State') Step 3: Lastly, use the percy exec command to enclose your test runner command. In order to receive snapshots from your Python Seleni...