BMM1986 / selenium-vba

Automatically exported from code.google.com/p/selenium-vba
1 stars 0 forks source link

webdriver.window.setsize 'inputfield.value' #171

Open freelanceontime opened 6 years ago

freelanceontime commented 6 years ago

Hello

Thought this would be simple, however not getting the desired result. webdriver.window.setsize 380, 520 works fine. looking to create a ComboBox that allows user to select window size they desire. keep getting error (argument not optional)

any help on how this is required to be done, or an alternate method?

`webdriver.Start "chrome", TextBox1.Text
 webdriver.Window.SetSize combobox1.value
 webdriver.Get "/"`

my combobox value is set as 380, 520 so cant understand why this wont allow it as works using this logic for the URL in TextBox1.text

Thanks