B4J Library Selenium Browser Automation - Create any Robot with Browser

Selenium.jpg


Selenium WebDriver - Mastering Test Automation with Selenium

What is Selenium?
Selenium is an open source automated testing suite for web applications across different browsers and platforms. It is quite similar to HP Quick Test Professional (QTP) only that Selenium focuses on automating web-based applications.

Selenium is not just a single tool but a suite of software's, each catering to different testing needs of an organization.

Based on Selenium WebDrivers, this new Library for B4J can automate browsers and create any robot and get any information from websites.

And you can use with or Without UI



Step 1:
Download the library and dependencies and put in your B4J Library Folder

https://visualnet.ddns.me/vncorp/store




Step 2:
Download the ChromeDriver for your platform.
Can be used on Windows/Linux/MacOSX, just download correct driver for your platform on:

http://chromedriver.chromium.org/downloads

TIP: Inside the samples you already have ChromeDriver.exe for windows


Step 3:
Try the samples


Sample 1: (SampleNasdaq.zip) Open Nasdaq.com website and get the top stocks on market

Sample 2: (SampleOyster.zip) Open UK TLF website for retrieve Oysters card and balance from each one

Check with a few lines of code you can retrieve a table from nasdaq website
B4X:
Dim objSelenium As Selenium
objSelenium.DebugMode = True
objSelenium.Initialize("chromedriver.exe","objSelenium")
objSelenium.Navigate("https://www.nasdaq.com/")
Dim lstElements As List = objSelenium.findElementList("indexTable")
For Each k As String In lstElements
      Log(k)
Next


Check others libraries on:

https://visualnet.ddns.me/vncorp/store
 
Last edited:

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User

Tini_racing

New Member
hello im learning selenium for b4j but i can't understand how to use the function waitUltil can you show me an example? Thanks
 

Yales

New Member
Hi Alberto. I was hoping to develop a B4J application that updates a website, but I can't seem to find your store (the link for your store gives a server error) and I do not know what to look for at your website. Is the Selenium Library still available?
 

Yales

New Member
hello Yales, yes, you can go to visualnet.inf.br and then on the menu, store
Hi Alberto,

I've checked all 3 pages of the library but I can't find the selenium B4J product. Please reply with a link. I see there is another person who would like the library as well.

Thanks,

Yale
 

catyinwong

Active Member
Licensed User
Longtime User
Selenium.jpg


Selenium WebDriver - Mastering Test Automation with Selenium

What is Selenium?
Selenium is an open source automated testing suite for web applications across different browsers and platforms. It is quite similar to HP Quick Test Professional (QTP) only that Selenium focuses on automating web-based applications.

Selenium is not just a single tool but a suite of software's, each catering to different testing needs of an organization.

Based on Selenium WebDrivers, this new Library for B4J can automate browsers and create any robot and get any information from websites.

And you can use with or Without UI



Step 1:
Download the library and dependencies and put in your B4J Library Folder

http://vnsoft.es/download/b4j/selenium/LibrayB4J_v1.2.0.zip

upload_2019-3-31_3-25-13mini.png



Step 2:
Download the ChromeDriver for your platform.
Can be used on Windows/Linux/MacOSX, just download correct driver for your platform on:

http://chromedriver.chromium.org/downloads

TIP: Inside the samples you already have ChromeDriver.exe for windows


Step 3:
Try the samples


Sample 1: (SampleNasdaq.zip) Open Nasdaq.com website and get the top stocks on market

Sample 2: (SampleOyster.zip) Open UK TLF website for retrieve Oysters card and balance from each one
oyster.jpg




Check with a few lines of code you can retrieve a table from nasdaq website
B4X:
Dim objSelenium As Selenium
objSelenium.DebugMode = True
objSelenium.Initialize("chromedriver.exe","objSelenium")
objSelenium.Navigate("https://www.nasdaq.com/")
Dim lstElements As List = objSelenium.findElementList("indexTable")
For Each k As String In lstElements
      Log(k)
Next


Check others libraries on:

Is there a new download link? the link is broken
 
Top