Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using a Java library with Scala reserved words

I'm using an external library written in Java (Selenium). One of the function calls has the signature type(String, String), and I keep getting compiler errors when trying to call it from Scala, that is:

selenium.type("ab","abc")

Is there a workaround for this issue?

like image 871
John Avatar asked Nov 25 '09 00:11

John


1 Answers

selenium.`type`("ab","abc")
like image 120
Ben James Avatar answered Oct 16 '22 04:10

Ben James