Reputation: 308
My queryUrl variable holds this string
queryUrl = "https://www.coursera.org/search?query=data%20science&index=prod_all_launched_products_term_optimization_skills_test_for_precise_xdp_imprecise_variant&topic=data%20science&entityTypeDescription=Courses"
but when i pass it to the driver like this
self.driver.get(queryUrl)
and the browser opens, the URL has this look
https://www.coursera.org/search?query=data science&index=prod_all_launched_products_term_optimization_skills_test_for_precise_xdp_imprecise_variant&topic=data science&entityTypeDescription=Courses
The %20 special character for space becomes a white space, while i need %20 special character.
What am'i doing wrong?
Upvotes: -1
Views: 271