Skip to content

Instantly share code, notes, and snippets.

@msuarz
msuarz / gist:5062044
Last active December 14, 2015 08:59
wd = require('wd');
browser = wd.remote 'localhost', 9134
products = []
browser.init ->
browser.get "http://www.shopmania.es", ->
browser.elementById 'autocomplete_prod', (err, el)->
browser.clear el, (err)->
browser.type el, '3TL941C', (err)->