Quite simple, but I'm confused. On my Python script which does web scraping with selenium, all the inputs are
input_country = driver.find_element(By.NAME, "country")
input_country.send_keys(" Німеччина ")
time.sleep(5)
for country is no space inside needed but when it comes to the input send keys, without space after " it does remove the first letter when writing it to the website.
Does it have any special reason or is it depending on the website?
Sorry for my English I'm still learning.
I tried removing space but it would remove the first letter: example here: (" Німеччина ")
this works correct, ("Німеччина")
this writes імеччина.
I assume you're using Chrome.
In that case, this is a common issue. Maybe the answers in resource .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.