splinter icon indicating copy to clipboard operation
splinter copied to clipboard

On some sites, the fill function does not work correctly

Open uasya1 opened this issue 7 years ago • 1 comments

On some sites, the fill function does not work correctly. Characters are not fully entered.

Running in python venv (Win10x64) Python 3.6

Installed packages in venv: splinter==0.10.0

from splinter import Browser

.fill("123123") output: 131 For example site http://npchk.nalog.ru/ browser.find_by_xpath('//*[@id="inn"]').fill('5249155837')

uasya1 avatar Jul 25 '19 13:07 uasya1

This site in particular is using some nasty javascript to validate the form value. This isn't a bug in splinter, and probably isn't a bug in selenium.

javascript-error avatar Apr 02 '21 04:04 javascript-error