Python POM Test automation

·

1 min read

Its been so long writing POM structure in C#. After moving away from MS, it looks like its ages since i wrote any Page object model.

Currently in organization we use Python. So wanted to brush up. Below article was quite helpful

lambdatest.com/blog/page-object-model-in-se..

Issues and fixes:

  • Issue “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser on Mac OS Fix: which chromedriver

/usr/local/bin/chromedriver

Open the folder location in finder app. To do this type in terminal

open /usr/local/bin/chromedriver

open /usr/local/bin/ Ctrl+Click on the app. Then click open.

  • Chromedriver update - Had to get latest version

So after having all these, execute tests. Code in Github:

github.com/isitsid/SeleniumPOM