loading...

Discussion on: Getting Started with SeleniumBase for Test Automation

Collapse
kiseta profile image
Tatyana K

Hi, is there an absolute beginner's guide to configuring the environment in which to try these examples. Obviously this needs Python to be installed on the machine. What would be next? Thanks!

Collapse
mintzworld profile image
Michael Mintz Author

Hi, the GitHub ReadMe should have all the details you need to help you get started: github.com/seleniumbase/SeleniumBa...
Once you’ve set up a virtual environment (instructions included) you can install with pip and then start running all the example tests.

Collapse
kiseta profile image
Tatyana K

Hi Michael, thank you for prompt reply.

Let me ask more specifically.

When instructions say 'Run pytest ... command' where do we run this from exactly? Let's take Windows, is there an IDE this is run from? Or just from the Command Prompt?

Also, let's assume there is absolutely nothing installed on the machine to use SeleniumBase, so what does a relatively technical team needs to have installed on the machines to be up and running?

  1. Python
  2. Pytest?
  3. Pip?
  4. IDE for test development, which one would you recommend? PyCharm? Any other?

Is there other prerequisites? Like doing installations under a local admin account? Folder permissions?

Apologies if this is covered in documentation later on, we're a bit stuck at the beginning, not sure where to run the commands from and if all the prerequisites are met.

Thanks!

Thread Thread
mintzworld profile image
Michael Mintz Author

Hi Tatyana, you can run that from any command prompt where Python is installed. When you install Python, it should automatically install pip for you, which is used to install Python packages in your Python virtual environment, which you can setup from the command prompt. You can use a bash shell, Mac terminal, DOS prompt, or any other shell. It should be easy once Python is installed, which may already come with the command prompt you use. From the Python virtual environment, you probably won’t need to worry about permissions, but you may need some admin access (for chromedriver, etc).