@@ -1808,7 +1808,7 @@ default void press(String selector, String key) {
18081808 * // single selection matching the value
18091809 * frame.selectOption("select#colors", "blue");
18101810 * // single selection matching both the value and the label
1811- * frame.selectOption("select#colors", new SelectOption().withLabel ("Blue"));
1811+ * frame.selectOption("select#colors", new SelectOption().setLabel ("Blue"));
18121812 * // multiple selection
18131813 * frame.selectOption("select#colors", new String[] {"red", "green", "blue"});
18141814 * }</pre>
@@ -1833,7 +1833,7 @@ default List<String> selectOption(String selector, String values) {
18331833 * // single selection matching the value
18341834 * frame.selectOption("select#colors", "blue");
18351835 * // single selection matching both the value and the label
1836- * frame.selectOption("select#colors", new SelectOption().withLabel ("Blue"));
1836+ * frame.selectOption("select#colors", new SelectOption().setLabel ("Blue"));
18371837 * // multiple selection
18381838 * frame.selectOption("select#colors", new String[] {"red", "green", "blue"});
18391839 * }</pre>
@@ -1856,7 +1856,7 @@ default List<String> selectOption(String selector, String values) {
18561856 * // single selection matching the value
18571857 * frame.selectOption("select#colors", "blue");
18581858 * // single selection matching both the value and the label
1859- * frame.selectOption("select#colors", new SelectOption().withLabel ("Blue"));
1859+ * frame.selectOption("select#colors", new SelectOption().setLabel ("Blue"));
18601860 * // multiple selection
18611861 * frame.selectOption("select#colors", new String[] {"red", "green", "blue"});
18621862 * }</pre>
@@ -1881,7 +1881,7 @@ default List<String> selectOption(String selector, ElementHandle values) {
18811881 * // single selection matching the value
18821882 * frame.selectOption("select#colors", "blue");
18831883 * // single selection matching both the value and the label
1884- * frame.selectOption("select#colors", new SelectOption().withLabel ("Blue"));
1884+ * frame.selectOption("select#colors", new SelectOption().setLabel ("Blue"));
18851885 * // multiple selection
18861886 * frame.selectOption("select#colors", new String[] {"red", "green", "blue"});
18871887 * }</pre>
@@ -1904,7 +1904,7 @@ default List<String> selectOption(String selector, ElementHandle values) {
19041904 * // single selection matching the value
19051905 * frame.selectOption("select#colors", "blue");
19061906 * // single selection matching both the value and the label
1907- * frame.selectOption("select#colors", new SelectOption().withLabel ("Blue"));
1907+ * frame.selectOption("select#colors", new SelectOption().setLabel ("Blue"));
19081908 * // multiple selection
19091909 * frame.selectOption("select#colors", new String[] {"red", "green", "blue"});
19101910 * }</pre>
@@ -1929,7 +1929,7 @@ default List<String> selectOption(String selector, String[] values) {
19291929 * // single selection matching the value
19301930 * frame.selectOption("select#colors", "blue");
19311931 * // single selection matching both the value and the label
1932- * frame.selectOption("select#colors", new SelectOption().withLabel ("Blue"));
1932+ * frame.selectOption("select#colors", new SelectOption().setLabel ("Blue"));
19331933 * // multiple selection
19341934 * frame.selectOption("select#colors", new String[] {"red", "green", "blue"});
19351935 * }</pre>
@@ -1952,7 +1952,7 @@ default List<String> selectOption(String selector, String[] values) {
19521952 * // single selection matching the value
19531953 * frame.selectOption("select#colors", "blue");
19541954 * // single selection matching both the value and the label
1955- * frame.selectOption("select#colors", new SelectOption().withLabel ("Blue"));
1955+ * frame.selectOption("select#colors", new SelectOption().setLabel ("Blue"));
19561956 * // multiple selection
19571957 * frame.selectOption("select#colors", new String[] {"red", "green", "blue"});
19581958 * }</pre>
@@ -1977,7 +1977,7 @@ default List<String> selectOption(String selector, SelectOption values) {
19771977 * // single selection matching the value
19781978 * frame.selectOption("select#colors", "blue");
19791979 * // single selection matching both the value and the label
1980- * frame.selectOption("select#colors", new SelectOption().withLabel ("Blue"));
1980+ * frame.selectOption("select#colors", new SelectOption().setLabel ("Blue"));
19811981 * // multiple selection
19821982 * frame.selectOption("select#colors", new String[] {"red", "green", "blue"});
19831983 * }</pre>
@@ -2000,7 +2000,7 @@ default List<String> selectOption(String selector, SelectOption values) {
20002000 * // single selection matching the value
20012001 * frame.selectOption("select#colors", "blue");
20022002 * // single selection matching both the value and the label
2003- * frame.selectOption("select#colors", new SelectOption().withLabel ("Blue"));
2003+ * frame.selectOption("select#colors", new SelectOption().setLabel ("Blue"));
20042004 * // multiple selection
20052005 * frame.selectOption("select#colors", new String[] {"red", "green", "blue"});
20062006 * }</pre>
@@ -2025,7 +2025,7 @@ default List<String> selectOption(String selector, ElementHandle[] values) {
20252025 * // single selection matching the value
20262026 * frame.selectOption("select#colors", "blue");
20272027 * // single selection matching both the value and the label
2028- * frame.selectOption("select#colors", new SelectOption().withLabel ("Blue"));
2028+ * frame.selectOption("select#colors", new SelectOption().setLabel ("Blue"));
20292029 * // multiple selection
20302030 * frame.selectOption("select#colors", new String[] {"red", "green", "blue"});
20312031 * }</pre>
@@ -2048,7 +2048,7 @@ default List<String> selectOption(String selector, ElementHandle[] values) {
20482048 * // single selection matching the value
20492049 * frame.selectOption("select#colors", "blue");
20502050 * // single selection matching both the value and the label
2051- * frame.selectOption("select#colors", new SelectOption().withLabel ("Blue"));
2051+ * frame.selectOption("select#colors", new SelectOption().setLabel ("Blue"));
20522052 * // multiple selection
20532053 * frame.selectOption("select#colors", new String[] {"red", "green", "blue"});
20542054 * }</pre>
@@ -2073,7 +2073,7 @@ default List<String> selectOption(String selector, SelectOption[] values) {
20732073 * // single selection matching the value
20742074 * frame.selectOption("select#colors", "blue");
20752075 * // single selection matching both the value and the label
2076- * frame.selectOption("select#colors", new SelectOption().withLabel ("Blue"));
2076+ * frame.selectOption("select#colors", new SelectOption().setLabel ("Blue"));
20772077 * // multiple selection
20782078 * frame.selectOption("select#colors", new String[] {"red", "green", "blue"});
20792079 * }</pre>
@@ -2266,7 +2266,7 @@ default String textContent(String selector) {
22662266 * // Types instantly
22672267 * frame.type("#mytextarea", "Hello");
22682268 * // Types slower, like a user
2269- * frame.type("#mytextarea", "World", new Frame.TypeOptions().withDelay (100));
2269+ * frame.type("#mytextarea", "World", new Frame.TypeOptions().setDelay (100));
22702270 * }</pre>
22712271 *
22722272 * @param selector A selector to search for element. If there are multiple elements satisfying the selector, the first will be used. See <a
@@ -2285,7 +2285,7 @@ default void type(String selector, String text) {
22852285 * // Types instantly
22862286 * frame.type("#mytextarea", "Hello");
22872287 * // Types slower, like a user
2288- * frame.type("#mytextarea", "World", new Frame.TypeOptions().withDelay (100));
2288+ * frame.type("#mytextarea", "World", new Frame.TypeOptions().setDelay (100));
22892289 * }</pre>
22902290 *
22912291 * @param selector A selector to search for element. If there are multiple elements satisfying the selector, the first will be used. See <a
0 commit comments