How to start testing CEF applications with python and selenium on windows
UPD(11/3/2018) In current moment that is not actual solution. I wrote new one to solve this problem https://github.com/sokolnikovalexey/cef-nodejs-selenium
===
##Installing the Environment
- Clone this repo
- Download and install Python 2.7
- Download ChromeDriver binary and move it to c:/chromedriver
- Add chromedriver to PATH system variable
- Install necessary python modules
- python -m pip install selenium
- may be you need to install more modules (python will tell about in console)
- Run selenium_chrome_test.py to ensure that there is no errors with python, chrome or chromedriver
- python selenium_chrome_test.py
##Start Writing CEF-tests
- Open calc_cef_test.py with any CodeEditor
- Set APPLICATION_PATH value where is your CEF application is placed (in my case it was cefclient.exe)
- Set TEST_PAGE_PATH value where is your testing html page is placed (if necessary) or use my test page from calc-proto/index.html
- Update test case for your needs or use my test cases
- Run python calc_cef_test.py
##Useful Resources