migrated to selenium webdriver

migrated to selenium webdriver and have a version working for market
url encoding