arguments
is what you're passing from Python to JavaScript that you want to execute.
driver.execute_script("arguments[0].removeAttribute('style')", element)
means that you want to "replace" arguments[0]
with WebElement stored in element
variable.
This is the same as if you defined that element in JavaScript:
driver.execute_script("document.querySelector('select.m-tcol-c#searchBy').removeAttribute('style')")
You can also pass more arguments as
driver.execute_script("arguments[0].removeAttribute(arguments[1])", element, "style")
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…