Can I Override a Built-In Function? #4309
-
| 
         Currently, I am using CodeceptJS to automate API testing. The original built-in function, such as sendGetRequest, works well, but it doesn't generate any logs for export to Allure.  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            kobenguyent
          
      
      
        Apr 18, 2024 
      
    
    Replies: 1 comment
-
| 
         
  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        tien-tran-ts
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
perhaps you could try define the function with same name in custom steps file https://codecept.io/pageobjects/#actor then it would override the built-in function.