SeleniumBasic | A Selenium based browser automation framework for VB.Net | Functional Testing library
kandi X-RAY | SeleniumBasic Summary
kandi X-RAY | SeleniumBasic Summary
A Selenium based browser automation framework for VB.Net, Visual Basic Applications and VBScript.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of SeleniumBasic
SeleniumBasic Key Features
SeleniumBasic Examples and Code Snippets
Community Discussions
Trending Discussions on SeleniumBasic
QUESTION
Please help me to solve this problem, i have tried many ways since one month ago, but i always failed.
I use Windows 7, Service Pack 1, 64 bit - Microsoft Excel professionl plus 2019. My Current Chrome version is 94.0.46, I have tried other versions as well. I use Chromedrive version 94.0.4606 but also have tried 93 and 92 versions. I have tried different versions of SeleniumBasic, from 2.0.2.0 to 2.0.9.0 . Also Google Chrome is not running as an administrator.
What i do always is: I uninstll Selenium, install it again or its another versaion, download the same chromedrive version that my google chrome uses, copy the chromedrive into the Selenium folder, either in "program files" path or "users" path and start it. Also "selenium Type Library" is selected in VBA References.
I run a very simple code:
...ANSWER
Answered 2021-Sep-30 at 12:51Define Mybrowser
as webdriver
. Please try below code.
QUESTION
I am new for pulling data using Python . I want to do excel file as pulling tables from website.
...ANSWER
Answered 2021-Feb-03 at 11:09That's because you pull the initial html here source = BeautifulSoup(r.content,"lxml")
, and then keep rendering that content.
You need to pull the html for each page that you go to. It's just a matter of adding 1 line. I commented where I added it:
QUESTION
I have an array, and it used to work just fine in VBA. I am now using SeleniumBasic and am trying to find the equivalent of the command ".length"
...ANSWER
Answered 2020-Aug-20 at 11:26In visual basic it's ubound(array)
to get the upper boundary of an array.
You'll want to use:
QUESTION
I am om Windows 10. I am trying to use Selenium to automate the Edge browser (or any other browser) via Excel VBA.
I went to https://www.selenium.dev/downloads/
There I downloaded Selenium Server, Latest stable version 3.141.59 and Python 3.141.0 November 01, 2018 4.0.0a6.post1 May 28, 2020 Download (I am not using Python but I thought I might in the future.)
Then I opened Excel VBA and opened Tools but could not find the “Selenium Type Library” option in the drop down.
I did more reading and I downloaded SeleniumBasic at https://github.com/florentbr/SeleniumBasic/releases/tag/v2.0.9.0
This made the option “Selenium Type Library” appear on the Tools dropdown.
I selected the “Selenium Type Library” option.
I entered this code in the VBA editor, which I got off the web. It opens Chrome (could not find the syntax to open Edge).
...ANSWER
Answered 2020-Jun-04 at 23:07Do you have the selenium chromium driver installed? That is required and it is different than the server and Visual library. This is the actual chrome binary that will launch and run. Download the latest version and place it in path such that basic can access it. I believe the path is C:\Users\ *Username\AppData\Local\SeleniumBasic
The executable should also be lowercase:
QUESTION
I have used SeleniumBasic-2.0.9.0.exe and Latest stable release: ChromeDriver 81.0.4044.69
I'm trying to scrape "Name" data from this website "http://ec.europa.eu/taxation_customs/vies/",
I chose a Member State from the dropdown, so 'GB-United Kingdom' in this instance.
Then enter the VAT Number(Let's say - "238554836
", and click on Verify.
The issue i'm getting in my code is the
"runtime error 1004 : Method range of object - 'Global' failed"
in the 4th line of the Code(While
Statement)
ANSWER
Answered 2020-Apr-13 at 09:01You haven't initialized count with an explicit value so it's start value will be 0. There is no range A0 hence your error. You also need to alter count (presumably decrement towards 0) in your loop so as to satisfy your exit condition.
QUESTION
I have created the below program for data driven test in testng and getting the error java.lang.NullPointerException.
This is data driven testing which is just fetching values from excel using @Dataprovider in testNG. but when i try to run this program it gives me the error java.lang.nullpointerexception
...ANSWER
Answered 2020-Apr-06 at 09:25In your MercuryToursTest
class, you have defined public WebDriver driver;
at the global level and then you are again defining and instantiating another WebDriver driver
in the setUp()
method because of which the global driver
remains null
and because of which you are getting NPE in your tearDown()
method.
You need to make a single line change in the setUp()
method and it would work.
Your setUp()
method should be like:
QUESTION
I'm noticing a rather long time for an operation to complete.
I'm using the latest SeleniumBasic for VBA to extract data from a table using a ChromeDriver. (https://github.com/florentbr/SeleniumBasic)
I'm retrieving WebElements and looping through them to get the text value.
I'm assigning the text value to an array of type String.
This operation takes quite a long time when I have a large array (1000's of WebElement objects).
Question - What is the fastest way to get all the text values?
Here is my HTML
...ANSWER
Answered 2020-Apr-05 at 01:12After doing some more research, there is an object called TableElement which can be used. This extracts HTML tables almost instantly and dumps it in a two dimensional VBA array.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install SeleniumBasic
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page