nblog_zon 111.120.011 → 111.120.013

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/nblog_zon.rb +14 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8bf25a52968bb8e5c71a26e6f91d7b76573bdacd848adfed459107aaf06b97c2
4
- data.tar.gz: 8f837cb7e5f4196d36faeb8bb37f9c5b3a3ddce23977a9d1b468eb6375e1566a
3
+ metadata.gz: 59aeb2dae68b6dbb4be2ee8d70fc2bbb8f17c4e4d19275f16c165f13f5bf55c3
4
+ data.tar.gz: b27398ae26251a03f50e6644e0f9406e24e7fc47e6e3e9504b3ea67fcb2fef74
5
5
  SHA512:
6
- metadata.gz: e51b8b7ec64e77adcd135473ee25ab2ecda9ac81e662989cabc52f200067dbb8911a4ad4566ec7d9b5015b0ee770be75bc1919437d75d3b455e68e11d9e42e14
7
- data.tar.gz: 2836a99783639fa8535676b485b5e758fd45d5eb0d2cf196cb29fc06a6e162495520e33523e66da70d62395779a6a038ec6a2eb39b02bb50da9d6e7b13f3c335
6
+ metadata.gz: 846a8d3007f04ddf1221dab9ee79ee94541cdb0c23fdd07c01d9b02288bf1d19ed8fc858769137e8076e1c787b217f57ec031e34453b06b4bd56ef61053631ae
7
+ data.tar.gz: d0f9a02a875911c45c1b8c4c26dd5e5ba3b60fcf23dbab41b65d09bbe70c91016524955d797880463093d7e7a4b669c23ab37db7f907f059733e4ae58cc7a784
data/lib/nblog_zon.rb CHANGED
@@ -269,6 +269,8 @@ class Chat_content
269
269
  end
270
270
 
271
271
 
272
+
273
+
272
274
  #############################################gpt############################################
273
275
 
274
276
  class Naver
@@ -513,6 +515,18 @@ class Naver
513
515
  sleep(1.5)
514
516
  @driver.find_element(:xpath, '//*[@type="submit" and @class="btn_check next_step" and @id="submit_btn"]').click
515
517
  sleep(2.5)
518
+ begin
519
+ wait = Selenium::WebDriver::Wait.new(:timeout => 3)
520
+ #요소가 나타날 때까지 3초 동안 기다립니다.
521
+ wait.until { @driver.find_element(:xpath, '//button[@ype="button" and @id="new.save" and @class="btn_check nlog-click"]') } #기기 확인 버튼 확인
522
+ #wait.until { @driver.find_element(:xpath, '//button[@ype="button" and @id="new.dontsave" and @class="btn_white nlog-click"]') } #기기 취소 버튼 확인
523
+ sleep(1.5)
524
+ @driver.find_element(:xpath, '//button[@ype="button" and @id="new.save" and @class="btn_check nlog-click"]').click
525
+ #@driver.find_element(:xpath, '//button[@ype="button" and @id="new.dontsave" and @class="btn_white nlog-click"]') #기기 취소 버튼 클릭
526
+ rescue
527
+ end
528
+
529
+
516
530
  rescue => e
517
531
  puts '-[√] 로딩 지연 접속 실패.......'.red
518
532
  @driver.window_handles.each do |handle|
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nblog_zon
3
3
  version: !ruby/object:Gem::Version
4
- version: 111.120.011
4
+ version: 111.120.013
5
5
  platform: ruby
6
6
  authors:
7
7
  - zon
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-07-15 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: rnjstnswp123@naver.com