Latest Inquiries - Data Extraction Software

"Add to cart" button does not work

Submitted: 12/23/2016
Hi,
I'm scraping BHphotovideo.com and I'm trying to add a product to the shopping cart in order to pull some data.
However, I'm not able to do this. After i Submit the "Add to cart" button, when the robot enters the cart, it shows no products in the cart.

Thanks,
Matan.

Bhphotovideso.rip
Capture.PNG

Replied: 12/25/2016 8:22:25 AM
Hi,
i can't view your robot because i am using version 2.129.9
please send me an example with an earlier version or instructions to change my own robot.

i have tried clicking the "view cart" button but that gives me the result i sent


Replied: 12/27/2016 12:24:35 PM
The robot should run on 5 different licenses and i have to have  the same version on all of them. if i use different versions there are issues with other robots I'm running.
Your solution will cost me 750$ and three weeks in repairng all other robots i have working on my servers with the current vesion. 
This is Simply not possible nor fair. 

Please try to build your solution on a version I can use.
Replied: 12/29/2016 3:03:26 AM

Hi Matan,

I understand your situation. In this case, you have to find other way to make this things work. 

Check your Web emulation if it is running in IE 11 or go to Project > Project options > Advance tab > Browser section and in Custon UserAgent, paste this, 

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36



Replied: 12/27/2016 12:20:29 PM
the robot should run on 5 different licenses and i have to the same version on all of them or else there are issues with other robots running on those instances.
Your solution will cost me 750$ and three weeks in repairng all other robots i have working on my servers with the current vesion. 
This is Simply not possible nor fair. 

please try to build your solution on a robot I can use.

Replied: 12/26/2016 12:48:38 PM

Hi Matan,

It seems you have to update your VWR and see if this solve the problem. This could be a problem when you are using an older version


Replied: 12/24/2016 2:47:45 AM

Hi,

You have to click the View Cart right after click the "Add to Cart" button. 

Capture.PNG
Bhphotovideso.rip

Replied: 12/29/2016 12:26:32 PM
Thank you.
what is this line doing?
does it change the emulator to another browser?
Replied: 12/29/2016 2:46:05 PM

No. It doesn't changed the emulator. What it did is that IE will act on behalf of other browser. Some websites react differently in each browser, IE, Chrome, Mozilla, etc. and they did this using user agent. If you inject user agent of Chrome in IE, website will throw a respond intended for Chrome browser, even though you are  using IE.

The line may work and sometimes not. But works most of the time. The bottom line is we are going to find a way for the "Add to Cart" to work.