Test setRangeText() method is not available in range inputs. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". Running tests on input with attributes: {"type":"range"} element.value = '0123456789XYZ' PASS element.setRangeText('ABC', 0, 0) threw exception InvalidStateError: The object is in an invalid state.. PASS element.value is "50" PASS successfullyParsed is true TEST COMPLETE