Uncaught Error: process.binding is not supported (browserify+selenium-webdriver)
I am trying to run a node js code in my browser i.e. client side. I am using browserify to convert my code to browser compatible code. My code below uses selenium web-driver and cheerio. I use this command to convert it
When I include the btest.js in my html code and try to run it I get the error:
UncaughtError: process.binding is not supported
UncaughtReferenceError: getdata is not defined
I am not sure what the problem is. Is it that my conversion using browserify is incorrect or if selenium web driver cannot run in the browser using browserify? If so what are my options. Any helpful article or blogpost having similar examples is highly appreciated.