Difference between “CharSequence interface” and “CharSequence key”
问题 Actions act = new Actions(driver); act.keyDown(CharSequence key); If I search online to find out what CharSequence is, I get all the information about the CharSequence interface. I can't understand what does a CharSequence interface has to do with CharSequence key used in Actions class? Thanks 回答1: Take a look at the JavaDocs for CharSequence: https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html Under implementing classes, you will see CharBuffer, Segment, String,