duo_blog_cafe_comment 0.0.73 → 0.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/duo_blog_cafe_comment.rb +13 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f1a491827f95af8881c5e1af98162317c54d7b9273d74883353a51d4eb422f5
4
- data.tar.gz: 5e185033ba9d1ac83949ee6cb9e19645340316a8c1d37ecb3862048a9f5cd98f
3
+ metadata.gz: cf7bc2d2e789ed5556242f75727eb8dba33110c63675682c1e521b22adf72403
4
+ data.tar.gz: 14640adbfb93b3bdfd00be71caeefd574f8df425f3b68b791819f8fd7898f5a4
5
5
  SHA512:
6
- metadata.gz: fc2158a568c00ff4c85456bcc6139e3c0a74a69e3be96e82b58cf7cde0e2a4dde060bdf488b73c1c5d99044f571511770868cf05a22e42aabf22daafa3e0cd57
7
- data.tar.gz: 81c798c219503b182bd50f861644419cd9f81f0f02b5ae084031319f6bfa6fad8fd243ea38d037ee96ae6f6d5e17fd4f928cab074375d8855db031136b4d8110
6
+ metadata.gz: a6ec35ba8f5df9e08dbffece8b48d9e568458e8ea2ca8d53c57e7a4a3ffa2c05d4515a194691af28fb58a78cadafa92181f5f7403a078052ec5bc5e96261eede
7
+ data.tar.gz: 2ca50e4ff61f527d69ee9d1cc35e87f80c06315f298ed9ba7e947fc4e396e3e82c360594e13e698b4435c5a8e74e30fe600aa11b4626fa4a1e1aaa9a854f789a
@@ -234,6 +234,18 @@ class Naver
234
234
  sleep(1.5)
235
235
  @driver.find_element(:xpath, '//*[@type="submit" and @class="btn_check next_step" and @id="submit_btn"]').click
236
236
  sleep(2.5)
237
+ begin
238
+ wait = Selenium::WebDriver::Wait.new(:timeout => 3)
239
+ #요소가 나타날 때까지 3초 동안 기다립니다.
240
+ wait.until { @driver.find_element(:xpath, '//button[@ype="button" and @id="new.save" and @class="btn_check nlog-click"]') } #기기 확인 버튼 확인
241
+ #wait.until { @driver.find_element(:xpath, '//button[@ype="button" and @id="new.dontsave" and @class="btn_white nlog-click"]') } #기기 취소 버튼 확인
242
+ sleep(1.5)
243
+ @driver.find_element(:xpath, '//button[@ype="button" and @id="new.save" and @class="btn_check nlog-click"]').click
244
+ #@driver.find_element(:xpath, '//button[@ype="button" and @id="new.dontsave" and @class="btn_white nlog-click"]') #기기 취소 버튼 클릭
245
+ rescue
246
+ end
247
+
248
+
237
249
  rescue => e
238
250
  puts '-[√] 로딩 지연 접속 실패.......'.red
239
251
  @driver.window_handles.each do |handle|
@@ -247,7 +259,7 @@ class Naver
247
259
  end
248
260
  return 0
249
261
  @driver.quit
250
- end
262
+ end
251
263
 
252
264
  else
253
265
  # @driver.switch_to.default_content
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: duo_blog_cafe_comment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.73
4
+ version: 0.0.75
5
5
  platform: ruby
6
6
  authors:
7
7
  - zon
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-07-10 00:00:00.000000000 Z
10
+ date: 2025-07-16 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: File to Clipboard gem
13
13
  email: mymin26@naver.com