cafe_buy_duo 0.0.29 → 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cafe_buy_duo.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d37517fd508c49bd33668a0ce813633977d3be6467d770e238494d9b5670d994
|
4
|
+
data.tar.gz: b5763248e31abd6a057f3ce2cc97e0b5750acce7de4becab049b74afe98f9cf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '049715bb5670839a4ce25dad8f2502e64db4647115389dec4f1c990ee56ce5ccaa5a864816c603d7982c31189aa88e91259c2a31dfc39438fc884cc9e4e10419'
|
7
|
+
data.tar.gz: a1ba60b598f197f890f4f4aecb4393bb2668843dcd233304224d90752bce553d8fde295d8dd925faaaead83a26737f3c58262d98c4491c6329cb11be6040a9c0
|
data/lib/cafe_buy_duo.rb
CHANGED
@@ -1086,18 +1086,18 @@ end
|
|
1086
1086
|
begin
|
1087
1087
|
wait = Selenium::WebDriver::Wait.new(:timeout => 3)
|
1088
1088
|
#요소가 나타날 때까지 60초 동안 기다립니다.
|
1089
|
-
wait.until { @driver.find_element(:xpath, '//div[@class="se-custom-layer-option se-custom-layer-option-resizing"]//button[@class="se-custom-layer-resizing-reset-button"]') }
|
1089
|
+
wait.until { @driver.find_element(:xpath, '//li[@class="se-toolbar-item se-toolbar-item-resizing"]//div[@class="se-custom-layer-option se-custom-layer-option-resizing"]//div[@class="se-custom-layer-resizing-option-group"]//button[@class="se-custom-layer-resizing-reset-button"]') }
|
1090
1090
|
sleep(1)
|
1091
|
-
@driver.find_element(:xpath, '//div[@class="se-custom-layer-option se-custom-layer-option-resizing"]//button[@class="se-custom-layer-resizing-reset-button"]').click
|
1091
|
+
@driver.find_element(:xpath, '//li[@class="se-toolbar-item se-toolbar-item-resizing"]//div[@class="se-custom-layer-option se-custom-layer-option-resizing"]//div[@class="se-custom-layer-resizing-option-group"]//button[@class="se-custom-layer-resizing-reset-button"]').click
|
1092
1092
|
sleep(1)
|
1093
1093
|
@driver.action.key_down(:enter).key_up(:enter).perform #엔터
|
1094
1094
|
sleep(1)
|
1095
1095
|
rescue
|
1096
1096
|
wait = Selenium::WebDriver::Wait.new(:timeout => 3)
|
1097
1097
|
#요소가 나타날 때까지 60초 동안 기다립니다.
|
1098
|
-
wait.until { @driver.find_element(:xpath, '//span[@class="se-custom-layer-resizing-reset-label" and text()="초기화"]') }
|
1098
|
+
wait.until { @driver.find_element(:xpath, '//li[@class="se-toolbar-item se-toolbar-item-resizing"]//div[@class="se-custom-layer-option se-custom-layer-option-resizing"]//div[@class="se-custom-layer-resizing-option-group"]//button[@class="se-custom-layer-resizing-reset-button"]//span[@class="se-custom-layer-resizing-reset-label" and text()="초기화"]') }
|
1099
1099
|
sleep(1)
|
1100
|
-
@driver.find_element(:xpath, '//span[@class="se-custom-layer-resizing-reset-label" and text()="초기화"]').click
|
1100
|
+
@driver.find_element(:xpath, '//li[@class="se-toolbar-item se-toolbar-item-resizing"]//div[@class="se-custom-layer-option se-custom-layer-option-resizing"]//div[@class="se-custom-layer-resizing-option-group"]//button[@class="se-custom-layer-resizing-reset-button"]//span[@class="se-custom-layer-resizing-reset-label" and text()="초기화"]').click
|
1101
1101
|
sleep(1)
|
1102
1102
|
@driver.action.key_down(:enter).key_up(:enter).perform #엔터
|
1103
1103
|
sleep(1)
|