1 | <?php |
||
18 | class Select2 extends TestableInput |
||
19 | { |
||
20 | /** |
||
21 | * @return string |
||
22 | */ |
||
23 | protected function getSearchSelector(): string |
||
27 | |||
28 | /** |
||
29 | * @return string |
||
30 | */ |
||
31 | protected function getFilterSelector(): string |
||
35 | |||
36 | /** |
||
37 | * @param string $value |
||
38 | * @throws \Exception |
||
39 | */ |
||
40 | public function setValue(string $value): void |
||
50 | |||
51 | /** |
||
52 | * @param string $value |
||
53 | * @throws \Exception |
||
54 | */ |
||
55 | public function setValueLike(string $value): void |
||
61 | |||
62 | /** |
||
63 | * @return Select2 |
||
64 | */ |
||
65 | public function open(): Select2 |
||
72 | |||
73 | /** |
||
74 | * @return Select2 |
||
75 | */ |
||
76 | public function seeIsOpened(): Select2 |
||
82 | |||
83 | /** |
||
84 | * @return string |
||
85 | */ |
||
86 | protected function getClickSelector(): string |
||
90 | |||
91 | /** |
||
92 | * @param string $name |
||
93 | * @throws \Exception |
||
94 | * @return Select2 |
||
95 | */ |
||
96 | public function fillSearchField(string $name): Select2 |
||
104 | |||
105 | /** |
||
106 | * @param $optionName |
||
107 | * @return Select2 |
||
108 | */ |
||
109 | public function chooseOption($optionName): Select2 |
||
122 | |||
123 | /** |
||
124 | * @param $optionName |
||
125 | * @return $this |
||
126 | */ |
||
127 | public function chooseOptionLike($optionName): Select2 |
||
140 | |||
141 | /** |
||
142 | * @return Select2 |
||
143 | */ |
||
144 | public function removeChosenOption(): Select2 |
||
153 | } |
||
154 |