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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cafe_buy_duo.rb +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3f684c0bfb04fc7b144040a0244ad2e38d4003b29715405cc17b68f2c0761c83
4
- data.tar.gz: c190ddc479bdd400946adc46c69e2761478ef44b592ca112321d01bc3e4ad634
3
+ metadata.gz: d37517fd508c49bd33668a0ce813633977d3be6467d770e238494d9b5670d994
4
+ data.tar.gz: b5763248e31abd6a057f3ce2cc97e0b5750acce7de4becab049b74afe98f9cf8
5
5
  SHA512:
6
- metadata.gz: 54f44a431fce551f24cd4c2ae2517481dad6e72aff009c5ce97d8ca86f249daf8d2dcdf4f682d99462aaf86b41d01a5f5fd010c129949c4dbebb4f9f800e74ac
7
- data.tar.gz: 3433e62c6c647ee6ef15aac73063592a69b5d87f2a10a6db410da5c48800312824883ca2b44371698c3f4d8e1495acc7262d23acf30b762d2c38bb574c76c898
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cafe_buy_duo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - zon