Author Topic: Scripts naming convention - Users new to Selenium, read this  (Read 43 times)

0 Members and 1 Guest are viewing this topic.

Offline afrocuban

  • Moderator
  • *****
  • Posts: 572
    • View Profile
Scripts naming convention - Users new to Selenium, read this
« on: January 04, 2025, 09:27:21 pm »
Thanks Ivek! Maybe we should agree to add to the script's names some suffix like "Chrome" and "FF" or similar, so people could easier recognize which ones they use. Or, we can agree that I will put "Chrome" to all of my scripts and the default is Firefox.

To all users: there is no obstacle to put both gecko and cromedriver to proper places, when you have both Chrome and Firefox installed (on the PATH), and to use both scripts concurently!
« Last Edit: January 07, 2025, 03:08:03 am by afrocuban »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2768
    • View Profile
Re: Re: Scripts naming convention
« Reply #1 on: January 06, 2025, 12:20:22 pm »
Thanks Ivek! Maybe we should agree to add to the script's names some suffix like "Chrome" and "FF" or similar, so people could easier recognize which ones they use. Or, we can agree that I will put "Chrome" to all of my scripts and the default is Firefox.

To all users: there is no obstacle to put both gecko and cromedriver to proper places, to have bot Chrome and Firefox, and to use both scripts concurently!

I agree, exactly so that users will know which script it is. Yes, and the default should be the Firefox browser.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline afrocuban

  • Moderator
  • *****
  • Posts: 572
    • View Profile
Re: Re: Scripts naming convention
« Reply #2 on: January 06, 2025, 02:26:04 pm »
Great. Then I will add  Selenium and Chrome references to the names of my scripts, and whene there's no such refrerence, then it's Firefox, if I understood you well. I already did that with my IMDB_People_[EN][Selenium]-v3.2.psf script and selenium_script-Chrome_People_Base_page_v3.2.py and selenium_script-Chrome_People_4_pages_v3.2.py scripts (this is note for other users, Ivek is already aware of it).

 

anything